From ac911c2f59cc48984af5bdaa0099cee820818649 Mon Sep 17 00:00:00 2001 From: "Edinaldo P. Silva" Date: Mon, 20 Mar 2017 08:07:22 +0700 Subject: [PATCH] desktop/bunsen-themes: Set to noarch. Signed-off-by: Willy Sudiarto Raharjo --- desktop/bunsen-themes/README | 8 ++--- .../bunsen-themes/bunsen-themes.SlackBuild | 33 ++++--------------- desktop/bunsen-themes/bunsen-themes.info | 2 +- desktop/bunsen-themes/slack-desc | 2 +- 4 files changed, 12 insertions(+), 33 deletions(-) diff --git a/desktop/bunsen-themes/README b/desktop/bunsen-themes/README index 00a7b1e8bb..2098e80e0a 100644 --- a/desktop/bunsen-themes/README +++ b/desktop/bunsen-themes/README @@ -1,6 +1,4 @@ -bunsen-themes (GTK2|GTK3 Themes). +bunsen-themes (GTK2|GTK3 Themes) -GTK, Openbox, and Li themes for Bunsen and Debian Jessie. Made by hhh -from the Crunchbang forums. - -Optional dependencies: gtk-engines, murrine. +GTK and Openbox themes for BunsenLabs and Debian Jessie. Made by +hhh from the Crunchbang forums. 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 diff --git a/desktop/bunsen-themes/bunsen-themes.info b/desktop/bunsen-themes/bunsen-themes.info index 33294ae652..7fd6acfc3b 100644 --- a/desktop/bunsen-themes/bunsen-themes.info +++ b/desktop/bunsen-themes/bunsen-themes.info @@ -5,6 +5,6 @@ DOWNLOAD="https://pkg.bunsenlabs.org/debian/pool/main/b/bunsen-themes/bunsen-the MD5SUM="cc1f221e0de67c52dad447ff4b7cbbf6" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="murrine" MAINTAINER="Edinaldo P. Silva" EMAIL="edps.mundognu@gmail.com" diff --git a/desktop/bunsen-themes/slack-desc b/desktop/bunsen-themes/slack-desc index c879edf976..058a8399ad 100644 --- a/desktop/bunsen-themes/slack-desc +++ b/desktop/bunsen-themes/slack-desc @@ -8,7 +8,7 @@ |-----handy-ruler------------------------------------------------------| bunsen-themes: bunsen-themes (GTK2|GTK3 Themes) bunsen-themes: -bunsen-themes: GTK, Openbox, and Li themes for Bunsen and Debian Jessie. Made by +bunsen-themes: GTK and Openbox themes for BunsenLabs and Debian Jessie. Made by bunsen-themes: hhh from the Crunchbang forums. bunsen-themes: bunsen-themes: Home page: https://github.com/bunsenlabs/bunsen-themes