summaryrefslogtreecommitdiff
path: root/desktop/awoken-icon-theme
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-01-16 15:13:17 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:27:24 +0700
commitde476e7ec313b17b38f85c44fc3dea9701825794 (patch)
treef0476690f75be216d895f94d9236f7bf5110f4b5 /desktop/awoken-icon-theme
parentd5aebb6794d5b57701b29795c5e5dd837654a0f1 (diff)
downloadslackbuilds-de476e7ec313b17b38f85c44fc3dea9701825794.tar.gz
desktop/awoken-icon-theme: Fix file ownership.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop/awoken-icon-theme')
-rw-r--r--desktop/awoken-icon-theme/awoken-icon-theme.SlackBuild22
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