summaryrefslogtreecommitdiff
path: root/desktop/kupfer/kupfer.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/kupfer/kupfer.SlackBuild')
-rw-r--r--desktop/kupfer/kupfer.SlackBuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/desktop/kupfer/kupfer.SlackBuild b/desktop/kupfer/kupfer.SlackBuild
index 8c8c0f2317..8298e218c0 100644
--- a/desktop/kupfer/kupfer.SlackBuild
+++ b/desktop/kupfer/kupfer.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for kupfer
-# Copyright 2018 Leonardo Citrolo, Italy
+# Copyright 2018-2020 Leonardo Citrolo, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=kupfer
-VERSION=${VERSION:-v319}
+VERSION=${VERSION:-v320}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -40,8 +40,9 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+mkdir $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -51,12 +52,13 @@ find -L . \
./waf configure \
--prefix=/usr \
- --mandir=/usr/man
+ --mandir=/usr/man \
+ --no-update-mime
./waf build
./waf install --destdir=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html
-cp -a README.rst \
+cp -a COPYING README.rst \
$PKG/usr/doc/$PRGNAM-$VERSION
cd Documentation
sed -i 's/rst2html5 /rst2html5.py /' Makefile