desktop/faba-icon-theme: Update script.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Edinaldo P. Silva 2017-06-30 11:56:03 +07:00 committed by Willy Sudiarto Raharjo
parent 13d522beee
commit 4f8c3ea18f
2 changed files with 7 additions and 8 deletions

View file

@ -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

View file

@ -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=""