aboutsummaryrefslogtreecommitdiff
path: root/desktop/faience-icon-theme/faience-icon-theme.SlackBuild
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2017-04-23 11:43:22 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-29 12:51:26 +0700
commit4c3b9317a52f19887664227a38c7475fd3cfa4a6 (patch)
treebaeeddadd5fc274bdf9cbf35b21ce756fdc42f0e /desktop/faience-icon-theme/faience-icon-theme.SlackBuild
parente1c9ec47d208319a6fad9dcd58af96ec5acd71af (diff)
desktop/faience-icon-theme: Updated for version 0.5.1.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop/faience-icon-theme/faience-icon-theme.SlackBuild')
-rw-r--r--desktop/faience-icon-theme/faience-icon-theme.SlackBuild39
1 files changed, 19 insertions, 20 deletions
diff --git a/desktop/faience-icon-theme/faience-icon-theme.SlackBuild b/desktop/faience-icon-theme/faience-icon-theme.SlackBuild
index c0b0ed2191b59..eedd43dd283da 100644
--- a/desktop/faience-icon-theme/faience-icon-theme.SlackBuild
+++ b/desktop/faience-icon-theme/faience-icon-theme.SlackBuild
@@ -1,8 +1,8 @@
#!/bin/sh
-# Slackware build script for faience-icon-theme
-# Homepage: http://tiheum.deviantart.com/art/Faience-icon-theme-255099649
-
-# Copyright 2015 Edinaldo P. Silva <edps.mundognu@gmail.com>
+#
+# Slackware build script for faience-icon-theme.
+#
+# 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 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM="faience-icon-theme"
-VERSION=${VERSION:-0.5}
+VERSION=${VERSION:-0.5.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -36,19 +36,19 @@ CWD=$(pwd)
set -e
-rm -fr $TMP/$PRGNAM-$VERSION $PKG
-mkdir -p $TMP $PKG $OUTPUT $TMP/$PRGNAM-$VERSION
-cd $TMP/$PRGNAM-$VERSION
-unzip $CWD/$PRGNAM\_$VERSION.zip
-
-TARBALLS="Faience Faience-Azur Faience-Ocre Faience-Claire"
-for i in $TARBALLS; do
- tar -xvf $i.tar.gz
-done
-chown -R root.root .
-find . -type f -exec chmod 644 {} \;
-find . -type d -exec chmod 755 {} \;
-
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM\_$VERSION.tar.gz
+mv $PRGNAM-0.5 $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -p $PKG/usr/share/icons
@@ -59,8 +59,7 @@ cp -a Faience \
$PKG/usr/share/icons
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp AUTHORS COPYING ChangeLog README INSTALL UNINSTALL $PKG/usr/doc/$PRGNAM-$VERSION
-
+cp -a debian/{changelog,copyright} $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install