summaryrefslogtreecommitdiff
path: root/system/tokyocabinet/tokyocabinet.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/tokyocabinet/tokyocabinet.SlackBuild')
-rw-r--r--system/tokyocabinet/tokyocabinet.SlackBuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/system/tokyocabinet/tokyocabinet.SlackBuild b/system/tokyocabinet/tokyocabinet.SlackBuild
index 5112356f96..7841235da0 100644
--- a/system/tokyocabinet/tokyocabinet.SlackBuild
+++ b/system/tokyocabinet/tokyocabinet.SlackBuild
@@ -4,7 +4,7 @@
# Written by kuroi_kenshi <kuroi_kenshi96@yahoo.com>
PRGNAM=tokyocabinet
-VERSION=${VERSION:-1.4.41}
+VERSION=${VERSION:-1.4.43}
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/tokyocabinet, so...
-# We'll add some extras and make a symlink for our users
-cp -a README example $PKG/usr/share/tokyocabinet
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/share/tokyocabinet/$PRGNAM.SlackBuild
-mkdir -p $PKG/usr/doc
-( cd $PKG/usr/doc ; ln -s ../share/tokyocabinet $PRGNAM-$VERSION )
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ COPYING README THANKS ChangeLog 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