diff options
Diffstat (limited to 'desktop/murrine-themes/murrine-themes.SlackBuild')
-rw-r--r-- | desktop/murrine-themes/murrine-themes.SlackBuild | 30 |
1 files changed, 23 insertions, 7 deletions
diff --git a/desktop/murrine-themes/murrine-themes.SlackBuild b/desktop/murrine-themes/murrine-themes.SlackBuild index 19fc6b73dc..5ed45bc41d 100644 --- a/desktop/murrine-themes/murrine-themes.SlackBuild +++ b/desktop/murrine-themes/murrine-themes.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for murrine-themes -# Copyright 2011-2018 Petar Petrov slackalaxy@gmail.com +# Copyright 2011-2023 Petar Petrov slackalaxy@gmail.com # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,21 +24,33 @@ # Many thanks to Debian and ROSA Linux for bundling these themes together! # Note about the version. The script combines the themes in Debian (version -# 0.98.11) with the themes from ROSA Linux (version 2.0), therefore we pack: -# 0.98.11 + 2.0 = 2.98.11. We also include the default Xfwm Murrina theme: +# 0.98.11) with the themes from ROSA Linux (version 2.0), and murrine-custom +# (0.0.1) therefore we pack: 0.98.11 + 2.0 + 0.01 = 2.99.11. We also include +# the default Xfwm Murrina theme: # http://xfce-look.org/content/show.php/Murrine++Xfwm+Theme?content=43083 +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=murrine-themes ORIGINAL=Murrine # Default theme for XFWM -VERSION=${VERSION:-2.98.11} # Version of our package +VERSION=${VERSION:-2.99.11} # Version of our package DEBIVER=${DEBIVER:-0.98.11} # Version of Debian's package ROSAVER=${ROSAVER:-2.0} # Version of ROSA's package +CUSTVER=${CUSTVER:-0.01} # Custom themes version BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} ARCH=noarch -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -54,6 +66,7 @@ cd $PRGNAM-$VERSION # Debian's themes. tar xvf $CWD/${PRGNAM}_${DEBIVER}.tar.xz +rm $PRGNAM/usr/share/themes/shearwater/gtk-2.0/Panel # Default Xfwm theme. Let's extract it together with Debian's themes. tar xvf $CWD/${ORIGINAL}Xfwm.tar.bz2 -C $PRGNAM/usr/share/themes @@ -64,6 +77,9 @@ lzma -cd Murreza.tar.lzma | tar xvf - lzma -cd MurrinaOransun.tar.lzma | tar xvf - lzma -cd MurrinaTango.tar.lzma | tar xvf - +tar xvf $CWD/murrine-custom-$CUSTVER.tar.gz +cp -a murrine-custom-$CUSTVER/{MurrinaGilouche2,Murrine-LightBlue} $PRGNAM/usr/share/themes/ + cp -a \ Murreza/* MurrinaOransun MurrinaTango \ $PRGNAM/usr/share/themes @@ -86,4 +102,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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE |