summaryrefslogtreecommitdiff
path: root/development/monotone/monotone.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-09-19 21:16:20 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-09-19 20:30:01 -0500
commit1a2ff195f966e0fe54374acba6a8eaf88e706dc1 (patch)
tree849039ae09c8445835d2a8c6129a834d2755c6d8 /development/monotone/monotone.SlackBuild
parent92904f717a3757941c343820e8b6b35e08de8cf5 (diff)
downloadslackbuilds-1a2ff195f966e0fe54374acba6a8eaf88e706dc1.tar.gz
development/monotone: Updated for version 1.0.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
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 86c1fa61ce..0a6c7e814a 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