diff options
Diffstat (limited to 'desktop/Qogir-icon-theme/Qogir-icon-theme.SlackBuild')
-rw-r--r-- | desktop/Qogir-icon-theme/Qogir-icon-theme.SlackBuild | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/desktop/Qogir-icon-theme/Qogir-icon-theme.SlackBuild b/desktop/Qogir-icon-theme/Qogir-icon-theme.SlackBuild index 87bf63f6717..cb2e23e73b1 100644 --- a/desktop/Qogir-icon-theme/Qogir-icon-theme.SlackBuild +++ b/desktop/Qogir-icon-theme/Qogir-icon-theme.SlackBuild @@ -23,12 +23,14 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=Qogir-icon-theme -VERSION=${VERSION:-2019_04_06} +VERSION=${VERSION:-20200221} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} ARCH=noarch +SRCVER=${SRCVER:-2020-02-21} + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM @@ -39,11 +41,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -mkdir $PRGNAM-$VERSION -cd $PRGNAM-$VERSION -tar xvf $CWD/Qogir.tar.xz -tar xvf $CWD/Qogir-dark.tar.xz +rm -rf $PRGNAM-$SRCVER +tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz +cd $PRGNAM-$SRCVER chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -52,17 +52,13 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; mkdir -p $PKG/usr/share/icons -cp -a Qogir Qogir-dark \ - $PKG/usr/share/icons -rm -f $PKG/usr/share/icons/Qogir/icon-theme.cache \ - $PKG/usr/share/icons/Qogir-dark/icon-theme.cache +./install.sh --dest $PKG/usr/share/icons +find $PKG/usr/share/icons \ + \( -name AUTHORS -o -name COPYING -o -name icon-theme.cache \) -exec rm -f {} \; mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -mv $PKG/usr/share/icons/Qogir/AUTHORS \ - $PKG/usr/share/icons/Qogir/COPYING \ +cp -a AUTHORS COPYING README.md \ $PKG/usr/doc/$PRGNAM-$VERSION -rm -f $PKG/usr/share/icons/Qogir-dark/AUTHORS \ - $PKG/usr/share/icons/Qogir-dark/COPYING cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |