summaryrefslogtreecommitdiff
path: root/multimedia/myththemes/myththemes.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <dsomero@hotmail.com>2010-05-11 22:24:56 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 22:24:56 +0200
commit427b8206d4da6cb201e0a0054f20c98bd3ca323c (patch)
tree670c551ab4fcccf45f073bd0ce13660270324e91 /multimedia/myththemes/myththemes.SlackBuild
parentf240b2f6bca41e443a6ede30d24e420e5adf1e8c (diff)
downloadslackbuilds-427b8206d4da6cb201e0a0054f20c98bd3ca323c.tar.gz
multimedia/myththemes: Updated for version 0.21
Diffstat (limited to 'multimedia/myththemes/myththemes.SlackBuild')
-rw-r--r--multimedia/myththemes/myththemes.SlackBuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/multimedia/myththemes/myththemes.SlackBuild b/multimedia/myththemes/myththemes.SlackBuild
index d4c7b61f55..d7841bf574 100644
--- a/multimedia/myththemes/myththemes.SlackBuild
+++ b/multimedia/myththemes/myththemes.SlackBuild
@@ -24,10 +24,11 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=myththemes
-VERSION=0.20.2
+VERSION=0.21
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=${TMP}/package-${PRGNAM}
@@ -42,7 +43,11 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
-chmod -R u+w,go+r-w,a-s .
+find . \
+ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
./configure --prefix=/usr
@@ -55,11 +60,6 @@ cp -a COPYING README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
( cd $PKG/usr/doc ; ln -s $PRGNAM-$VERSION $PRGNAM )
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-)
-
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc