diff options
author | Edinaldo P. Silva <edps.mundognu@gmail.com> | 2017-03-20 08:07:22 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-03-20 08:07:22 +0700 |
commit | ac911c2f59cc48984af5bdaa0099cee820818649 (patch) | |
tree | b55e19469ffefdaa6b4161a1a3d67ddba5a16461 /desktop/bunsen-themes/bunsen-themes.SlackBuild | |
parent | 558e1930c0276860d618ae443504d4ba6510a753 (diff) | |
download | slackbuilds-ac911c2f59cc48984af5bdaa0099cee820818649.tar.gz |
desktop/bunsen-themes: Set to noarch.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/bunsen-themes/bunsen-themes.SlackBuild')
-rw-r--r-- | desktop/bunsen-themes/bunsen-themes.SlackBuild | 33 |
1 files changed, 7 insertions, 26 deletions
diff --git a/desktop/bunsen-themes/bunsen-themes.SlackBuild b/desktop/bunsen-themes/bunsen-themes.SlackBuild index 96e8c11886..e2555abba3 100644 --- a/desktop/bunsen-themes/bunsen-themes.SlackBuild +++ b/desktop/bunsen-themes/bunsen-themes.SlackBuild @@ -2,7 +2,7 @@ # # Slackware build script for bunsen-themes. # -# 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,36 +24,17 @@ PRGNAM=bunsen-themes VERSION=${VERSION:-8.3.1} -SRCVER=${SRCVER:-8.3.1-2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi +ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} +CWD=$(pwd) -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi +SRCVER="8.3.1-2" set -e @@ -75,10 +56,10 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -gzip -dc usr/share/doc/$PRGNAM/changelog.Debian.gz > $PKG/usr/doc/$PRGNAM-$VERSION/changelog.Debian +gzip -dc usr/share/doc/$PRGNAM/changelog.Debian.gz > $PKG/usr/doc/$PRGNAM-$VERSION/ChangeLog gzip -dc usr/share/doc/$PRGNAM/LICENSE.CC.gz > $PKG/usr/doc/$PRGNAM-$VERSION/LICENSE.CC gzip -dc usr/share/doc/$PRGNAM/LICENSE.GPL.gz > $PKG/usr/doc/$PRGNAM-$VERSION/LICENSE.GPL -cp -a usr/share/doc/$PRGNAM/copyright $PKG/usr/doc/$PRGNAM-$VERSION/copyright +cp -a usr/share/doc/$PRGNAM/copyright $PKG/usr/doc/$PRGNAM-$VERSION/Copyright cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/usr/share/themes |