From b464b1e109eed8808ffa169d3315979d0dec78af Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sun, 26 Apr 2020 21:02:16 +0700 Subject: [PATCH] mate-theme: Upgraded to 3.22.21. Signed-off-by: Willy Sudiarto Raharjo --- base/mate-themes/mate-themes.SlackBuild | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/base/mate-themes/mate-themes.SlackBuild b/base/mate-themes/mate-themes.SlackBuild index 2d41215..f40295c 100644 --- a/base/mate-themes/mate-themes.SlackBuild +++ b/base/mate-themes/mate-themes.SlackBuild @@ -24,11 +24,17 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=mate-themes -VERSION=${VERSION:-3.22.20} +VERSION=${VERSION:-3.22.21} BUILD=${BUILD:-1} TAG=${TAG:-_msb} -ARCH=noarch +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi wget -c https://pub.mate-desktop.org/releases/themes/3.22/$PRGNAM-$VERSION.tar.xz @@ -111,4 +117,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-noarch-$BUILD$TAG.${PKGTYPE:-txz}