aboutsummaryrefslogtreecommitdiff
path: root/desktop/faba-icon-theme/faba-icon-theme.SlackBuild
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2017-06-30 11:56:03 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-30 11:56:03 +0700
commit4f8c3ea18f7489d6b3b408c92bbf1ba991888c0a (patch)
tree5c5b71e9f6b1e4708e2b0bf8a35877c2c6086722 /desktop/faba-icon-theme/faba-icon-theme.SlackBuild
parent13d522beee6ee3110c6c188c92709784c7e48c4a (diff)
desktop/faba-icon-theme: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 b768932bab3c..c1095c43945d 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