diff options
Diffstat (limited to 'desktop/awoken-icon-theme/awoken-icon-theme.SlackBuild')
-rw-r--r-- | desktop/awoken-icon-theme/awoken-icon-theme.SlackBuild | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/desktop/awoken-icon-theme/awoken-icon-theme.SlackBuild b/desktop/awoken-icon-theme/awoken-icon-theme.SlackBuild index c87cc35402..87cd67f3c5 100644 --- a/desktop/awoken-icon-theme/awoken-icon-theme.SlackBuild +++ b/desktop/awoken-icon-theme/awoken-icon-theme.SlackBuild @@ -37,24 +37,24 @@ CWD=$(pwd) set -e -rm -fr $TMP/$PRGNAM-$VERSION $PKG -mkdir -p $TMP $PKG $OUTPUT $TMP/$PRGNAM-$VERSION -cd $TMP/$PRGNAM-$VERSION +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION unzip $CWD/$SRCNAM-$VERSION.zip -chown -R root.root . -find . -type f -exec chmod 644 {} \; -find . -type d -exec chmod 755 {} \; +cd $SRCNAM-$VERSION TARBALLS="AwOken AwOkenDark AwOkenWhite" -ls -ls + for i in $TARBALLS; do - tar -xvf $SRCNAM-$VERSION/$i.tar.gz + 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 mkdir -p $PKG/usr/share/icons - -cp -a AwOken AwOkenDark AwOkenWhite $PKG/usr/share/icons +cp -a $TARBALLS $PKG/usr/share/icons mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mv $PKG/usr/share/icons/AwOken/*.pdf $PKG/usr/doc/$PRGNAM-$VERSION |