summaryrefslogtreecommitdiff
path: root/desktop/faba-icon-theme/faba-icon-theme.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/faba-icon-theme/faba-icon-theme.SlackBuild')
-rw-r--r--desktop/faba-icon-theme/faba-icon-theme.SlackBuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/desktop/faba-icon-theme/faba-icon-theme.SlackBuild b/desktop/faba-icon-theme/faba-icon-theme.SlackBuild
index b768932bab..c1095c4394 100644
--- a/desktop/faba-icon-theme/faba-icon-theme.SlackBuild
+++ b/desktop/faba-icon-theme/faba-icon-theme.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for faba-icon-theme.
#
-# 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
@@ -24,7 +24,7 @@
PRGNAM="faba-icon-theme"
VERSION=${VERSION:-4.1.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
ARCH=noarch
@@ -36,13 +36,11 @@ CWD=$(pwd)
set -e
-SRCVER="v4.1.2"
-
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$SRCVER.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -51,8 +49,9 @@ find -L . \
\( -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
-cp -a Faba $PKG/usr/share/icons
+bash autogen.sh
+make
+make DESTDIR=$PKG install
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp AUTHORS COPYING INSTALL LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION