summaryrefslogtreecommitdiff
path: root/system/tokyotyrant/tokyotyrant.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/tokyotyrant/tokyotyrant.SlackBuild')
-rw-r--r--system/tokyotyrant/tokyotyrant.SlackBuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/system/tokyotyrant/tokyotyrant.SlackBuild b/system/tokyotyrant/tokyotyrant.SlackBuild
index 32d673cd6c..2159fe1652 100644
--- a/system/tokyotyrant/tokyotyrant.SlackBuild
+++ b/system/tokyotyrant/tokyotyrant.SlackBuild
@@ -4,7 +4,7 @@
# Written by kuroi_kenshi <kuroi_kenshi96@yahoo.com>
PRGNAM=tokyotyrant
-VERSION=${VERSION:-1.1.39}
+VERSION=${VERSION:-1.1.40}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -66,12 +66,10 @@ make install DESTDIR=$PKG
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
)
-# Upstream expects the docs in /usr/share/tokyotyrant, so...
-# We'll add some extras and make a symlink for our users
-cp -a README example $PKG/usr/share/tokyotyrant
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/share/tokyotyrant/$PRGNAM.SlackBuild
-mkdir -p $PKG/usr/doc
-( cd $PKG/usr/doc ; ln -s ../share/tokyotyrant $PRGNAM-$VERSION )
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ ChangeLog COPYING README THANKS doc example $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc