diff options
author | Edinaldo P. Silva <edps.mundognu@gmail.com> | 2017-06-30 11:54:13 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-06-30 11:54:13 +0700 |
commit | 5764f01b85aee852ea38acce0b4c8ddeca50317c (patch) | |
tree | 805d53489d0c0a5136a1159d96a3c710fc52708e /desktop/awoken-icon-theme/awoken-icon-theme.SlackBuild | |
parent | 569af1648dd5606ae2bdcd0381da5927a7d19f4e (diff) | |
download | slackbuilds-5764f01b85aee852ea38acce0b4c8ddeca50317c.tar.gz |
desktop/awoken-icon-theme: Updated for version 2.5.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/awoken-icon-theme/awoken-icon-theme.SlackBuild')
-rw-r--r-- | desktop/awoken-icon-theme/awoken-icon-theme.SlackBuild | 32 |
1 files changed, 13 insertions, 19 deletions
diff --git a/desktop/awoken-icon-theme/awoken-icon-theme.SlackBuild b/desktop/awoken-icon-theme/awoken-icon-theme.SlackBuild index 87cd67f3c5..3b94299272 100644 --- a/desktop/awoken-icon-theme/awoken-icon-theme.SlackBuild +++ b/desktop/awoken-icon-theme/awoken-icon-theme.SlackBuild @@ -1,8 +1,8 @@ #!/bin/sh +# # Slackware build script for awoken-icon-theme -# Homepage: http://alecive.deviantart.com/art/AwOken-163570862 - -# 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 @@ -23,8 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM="awoken-icon-theme" -SRCNAM="AwOken" -VERSION=${VERSION:-2.5} +VERSION=${VERSION:-2.5.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -35,29 +34,24 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} CWD=$(pwd) +SRCVER=${SRCVER:-abb18317af4f22b5d48ee39477d8561040d29db1} + set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $SRCNAM-$VERSION -unzip $CWD/$SRCNAM-$VERSION.zip -cd $SRCNAM-$VERSION - -TARBALLS="AwOken AwOkenDark AwOkenWhite" - -for i in $TARBALLS; do - tar -xvf $i.tar.gz - chown -R root.root $i - find $i -type f -exec chmod 644 {} \; - find $i -type d -exec chmod 755 {} \; -done +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$SRCVER.tar.gz +mv $PRGNAM-$SRCVER $PRGNAM-$VERSION +cd $PRGNAM-$VERSION mkdir -p $PKG/usr/share/icons -cp -a $TARBALLS $PKG/usr/share/icons +cp -a AwOken AwOkenDark AwOkenWhite $PKG/usr/share/icons +chmod a+r -R $PKG/usr/share/icons/AwOken{,Dark,White} mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -mv $PKG/usr/share/icons/AwOken/*.pdf $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |