aboutsummaryrefslogtreecommitdiff
path: root/development/monotone/monotone.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/monotone/monotone.SlackBuild')
-rw-r--r--development/monotone/monotone.SlackBuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/development/monotone/monotone.SlackBuild b/development/monotone/monotone.SlackBuild
index 86c1fa61cea88..0a6c7e814a911 100644
--- a/development/monotone/monotone.SlackBuild
+++ b/development/monotone/monotone.SlackBuild
@@ -26,7 +26,7 @@
# THE SOFTWARE.
PRGNAM=monotone
-VERSION=${VERSION:-0.48}
+VERSION=${VERSION:-1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -63,7 +63,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@@ -72,6 +72,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Thanks gentoo for the patches
+for i in $CWD/patches/* ; do patch -p0 < $i ; done
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -93,12 +96,12 @@ rm -f $PKG/usr/info/dir
gzip -9 $PKG/usr/info/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog HACKING NEWS UPGRADE README.changesets contrib \
+cp -a AUTHORS COPYING ChangeLog HACKING NEWS UPGRADE README contrib \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/etc/bash_completion.d/
-cp -a contrib/monotone.bash_completion $PKG/etc/bash_completion.d/
+cp -a extra/shell/monotone.bash_completion $PKG/etc/bash_completion.d/monotone.sh
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc