summaryrefslogtreecommitdiff
path: root/system/findpkg/findpkg.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/findpkg/findpkg.SlackBuild')
-rw-r--r--system/findpkg/findpkg.SlackBuild15
1 files changed, 7 insertions, 8 deletions
diff --git a/system/findpkg/findpkg.SlackBuild b/system/findpkg/findpkg.SlackBuild
index 36fcaa220e..d61b6565ae 100644
--- a/system/findpkg/findpkg.SlackBuild
+++ b/system/findpkg/findpkg.SlackBuild
@@ -1,9 +1,8 @@
#!/bin/sh
# Slackware build script for findpkg
-# Written by Sergio Vicari <sercari@esdebian.org>
-# Copyright 2016 Sergio Vicari <sercari@esdebian.org>
+# Copyright 2016 Sergio Vicari <devteamtuc@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,9 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
PRGNAM=findpkg
-VERSION=${VERSION:-20160710}
+VERSION=${VERSION:-20160817}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -54,15 +52,16 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -p $PKG/usr/bin
-cp $TMP/$PRGNAM-$VERSION/$PRGNAM/$PRGNAM $PKG/usr/bin/$PRGNAM
+cp $TMP/$PRGNAM-$VERSION/$PRGNAM-$VERSION/$PRGNAM $PKG/usr/bin/$PRGNAM
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cat $TMP/$PRGNAM-$VERSION/$PRGNAM/gpl.txt > $PKG/usr/doc/$PRGNAM-$VERSION/gpl.txt
-cat $TMP/$PRGNAM-$VERSION/$PRGNAM/README.txt > $PKG/usr/doc/$PRGNAM-$VERSION/README.txt
+cat $TMP/$PRGNAM-$VERSION/$PRGNAM-$VERSION/gpl.txt > $PKG/usr/doc/$PRGNAM-$VERSION/gpl.txt
+cat $TMP/$PRGNAM-$VERSION/$PRGNAM-$VERSION/changelog.txt > $PKG/usr/doc/$PRGNAM-$VERSION/changelog.txt
+cat $TMP/$PRGNAM-$VERSION/$PRGNAM-$VERSION/README.txt > $PKG/usr/doc/$PRGNAM-$VERSION/README.txt
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/usr/man/man8
-cat $TMP/$PRGNAM-$VERSION/$PRGNAM/$PRGNAM.8.gz > $PKG/usr/man/man8/$PRGNAM.8.gz
+cat $TMP/$PRGNAM-$VERSION/$PRGNAM-$VERSION/$PRGNAM.8.gz > $PKG/usr/man/man8/$PRGNAM.8.gz
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc