summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Edinaldo P. Silva2017-06-30 06:56:03 +0200
committer Willy Sudiarto Raharjo2017-06-30 06:56:03 +0200
commit4f8c3ea18f7489d6b3b408c92bbf1ba991888c0a (patch)
tree5c5b71e9f6b1e4708e2b0bf8a35877c2c6086722
parent13d522beee6ee3110c6c188c92709784c7e48c4a (diff)
downloadslackbuilds-4f8c3ea18f7489d6b3b408c92bbf1ba991888c0a.tar.gz
desktop/faba-icon-theme: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--desktop/faba-icon-theme/faba-icon-theme.SlackBuild13
-rw-r--r--desktop/faba-icon-theme/faba-icon-theme.info2
2 files changed, 7 insertions, 8 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
diff --git a/desktop/faba-icon-theme/faba-icon-theme.info b/desktop/faba-icon-theme/faba-icon-theme.info
index 3b5a5c23f6..9403d37d52 100644
--- a/desktop/faba-icon-theme/faba-icon-theme.info
+++ b/desktop/faba-icon-theme/faba-icon-theme.info
@@ -1,7 +1,7 @@
PRGNAM="faba-icon-theme"
VERSION="4.1.2"
HOMEPAGE="https://github.com/moka-project/faba-icon-theme/"
-DOWNLOAD="https://github.com/moka-project/faba-icon-theme/archive/v4.1.2.tar.gz"
+DOWNLOAD="https://github.com/moka-project/faba-icon-theme/archive/v4.1.2/faba-icon-theme-4.1.2.tar.gz"
MD5SUM="7966a99b8e9098e2474655229093e08c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""