summaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorAsaf Ohaion <asaf.tvn@gmail.com>2011-11-02 20:06:23 -0200
committerNiels Horn <niels.horn@slackbuilds.org>2011-11-02 20:06:23 -0200
commit67f3253d712dafea44c0a4845ede4524aa74b81d (patch)
tree24b29d4a0ebab610dea1ee0f3db8bda6983791be /development
parentbd5ccf0b8a0fa48bb9761e789711682c93ca25fc (diff)
downloadslackbuilds-67f3253d712dafea44c0a4845ede4524aa74b81d.tar.gz
development/magit: Updated for version 1.0.0.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/magit/magit.SlackBuild29
-rw-r--r--development/magit/magit.info6
2 files changed, 9 insertions, 26 deletions
diff --git a/development/magit/magit.SlackBuild b/development/magit/magit.SlackBuild
index 8cc2058d90..54d8af5d3e 100644
--- a/development/magit/magit.SlackBuild
+++ b/development/magit/magit.SlackBuild
@@ -1,5 +1,5 @@
#!/bin/sh
-# Slackware build script for magit 0.8.2
+# Slackware build script for magit 1.0.0
# Written by Asaf Ohaion <asaf at lingnu.com>
#
@@ -25,7 +25,7 @@
PRGNAM=magit
-VERSION=${VERSION:-0.8.2}
+VERSION=${VERSION:-1.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -57,33 +57,17 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-#if [ ! -f "configure" ]; then
-# ./autogen.sh
-#fi
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --infodir=/usr/info \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
+# Fix location of info files
+sed "s|share/info|info|g" -i Makefile
make
-make install DESTDIR=$PKG
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+make install PREFIX=/usr DESTDIR=$PKG
rm -f $PKG/usr/info/dir
gzip -9 $PKG/usr/info/*.info*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- README AUTHORS NEWS COPYING INSTALL \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -95,4 +79,3 @@ rm -rf $PKG/etc/emacs
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
-
diff --git a/development/magit/magit.info b/development/magit/magit.info
index 2f55cbb531..862bdb4988 100644
--- a/development/magit/magit.info
+++ b/development/magit/magit.info
@@ -1,8 +1,8 @@
PRGNAM="magit"
-VERSION="0.8.2"
+VERSION="1.0.0"
HOMEPAGE="http://philjackson.github.com/magit/"
-DOWNLOAD="https://github.com/downloads/philjackson/magit/magit-0.8.2.tar.gz"
-MD5SUM="fe7e1a1085190ede6bed49e406fe0ce9"
+DOWNLOAD="http://github.com/downloads/magit/magit/magit-1.0.0.tar.gz"
+MD5SUM="1f640741ff0cf94ea84c607fac8758d6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Asaf Ohaion"