From 9bfde6fac1367684f8ee7fe5b27f69da412b5846 Mon Sep 17 00:00:00 2001 From: "Edinaldo P. Silva" Date: Tue, 19 Jun 2018 21:15:24 +0100 Subject: [PATCH] desktop/moka-icon-theme: Updated for version 5.4.0. Signed-off-by: David Spencer --- .../moka-icon-theme.SlackBuild | 32 +++++++------------ desktop/moka-icon-theme/moka-icon-theme.info | 10 +++--- desktop/moka-icon-theme/slack-desc | 2 +- 3 files changed, 17 insertions(+), 27 deletions(-) diff --git a/desktop/moka-icon-theme/moka-icon-theme.SlackBuild b/desktop/moka-icon-theme/moka-icon-theme.SlackBuild index 97b0bdc2ba..27e1033001 100644 --- a/desktop/moka-icon-theme/moka-icon-theme.SlackBuild +++ b/desktop/moka-icon-theme/moka-icon-theme.SlackBuild @@ -2,7 +2,7 @@ # # Slackware build script for moka-icon-theme. # -# Copyright 2015-217 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# Copyright 2015-218 Edinaldo P. Silva, Rio de Janeiro, Brazil. # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM="moka-icon-theme" -VERSION=${VERSION:-20171021} +VERSION=${VERSION:-5.4.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -34,36 +34,26 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} CWD=$(pwd) -SRCVER=${SRCVER:-d63bd966332fb6de5034d8bbc00ba0e14825ed07} - set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz -mv $PRGNAM-$SRCVER $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -CFLAGS="$SLKCFLAGS" -CXXFLAGS="$SLKCFLAGS" -./autogen.sh \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --enable-silent-rules \ - --build=$ARCH-slackware-linux - -make -make install DESTDIR=$PKG +meson --prefix $PKG/usr build +ninja -C build install mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp AUTHORS COPYING INSTALL LICENSE* README.md $PKG/usr/doc/$PRGNAM-$VERSION +cp AUTHORS COPYING LICENSE* README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/desktop/moka-icon-theme/moka-icon-theme.info b/desktop/moka-icon-theme/moka-icon-theme.info index 365e2cd921..8a35849451 100644 --- a/desktop/moka-icon-theme/moka-icon-theme.info +++ b/desktop/moka-icon-theme/moka-icon-theme.info @@ -1,10 +1,10 @@ PRGNAM="moka-icon-theme" -VERSION="20171021" -HOMEPAGE="https://github.com/moka-project/moka-icon-theme/" -DOWNLOAD="https://github.com/snwh/moka-icon-theme/archive/d63bd966332fb6de5034d8bbc00ba0e14825ed07/moka-icon-theme-d63bd966332fb6de5034d8bbc00ba0e14825ed07.tar.gz" -MD5SUM="67e6181bf1d23eff15532f36551a27d3" +VERSION="5.4.0" +HOMEPAGE="https://github.com/snwh/moka-icon-theme/" +DOWNLOAD="https://github.com/snwh/moka-icon-theme/archive/v5.4.0/moka-icon-theme-5.4.0.tar.gz" +MD5SUM="27d2e54bf33bcb428ece6ff2a97e2b67" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="faba-icon-theme" +REQUIRES="meson faba-icon-theme" MAINTAINER="Edinaldo P. Silva" EMAIL="edps.mundognu@gmail.com" diff --git a/desktop/moka-icon-theme/slack-desc b/desktop/moka-icon-theme/slack-desc index 84ccc79af9..526157d21f 100644 --- a/desktop/moka-icon-theme/slack-desc +++ b/desktop/moka-icon-theme/slack-desc @@ -12,7 +12,7 @@ moka-icon-theme: Moka is a stylized Linux desktop icon set, and the titular icon moka-icon-theme: of the Moka Project. They are designed to be clear, simple and moka-icon-theme: consistent. moka-icon-theme: -moka-icon-theme: Home Page: https://github.com/moka-project/moka-icon-theme/ +moka-icon-theme: Home Page: https://github.com/snwh/moka-icon-theme/ moka-icon-theme: moka-icon-theme: moka-icon-theme: