aboutsummaryrefslogtreecommitdiff
path: root/desktop/siva-flat-themes/siva-flat-themes.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/siva-flat-themes/siva-flat-themes.SlackBuild')
-rw-r--r--desktop/siva-flat-themes/siva-flat-themes.SlackBuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/desktop/siva-flat-themes/siva-flat-themes.SlackBuild b/desktop/siva-flat-themes/siva-flat-themes.SlackBuild
index 6d2fbba1dc56..12272eeedbd7 100644
--- a/desktop/siva-flat-themes/siva-flat-themes.SlackBuild
+++ b/desktop/siva-flat-themes/siva-flat-themes.SlackBuild
@@ -1,7 +1,8 @@
#!/bin/sh
+#
# Slackware build script for siva-flat-themes.
-
-# Copyright 2015 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+#
+# Copyright 2015-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +24,7 @@
PRGNAM="siva-flat-themes"
VERSION=${VERSION:-1.3.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
ARCH=noarch
@@ -39,20 +40,18 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-mkdir $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -C $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
mkdir -p $PKG/usr/share/themes
-cp -a * $PKG/usr/share/themes
+cp -r * $PKG/usr/share/themes
mkdir -p $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
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}