diff options
Diffstat (limited to 'desktop/paper-gtk-theme')
-rw-r--r-- | desktop/paper-gtk-theme/paper-gtk-theme.SlackBuild | 27 | ||||
-rw-r--r-- | desktop/paper-gtk-theme/paper-gtk-theme.info | 6 |
2 files changed, 24 insertions, 9 deletions
diff --git a/desktop/paper-gtk-theme/paper-gtk-theme.SlackBuild b/desktop/paper-gtk-theme/paper-gtk-theme.SlackBuild index efb5207f125ca..8dc92e0aa03df 100644 --- a/desktop/paper-gtk-theme/paper-gtk-theme.SlackBuild +++ b/desktop/paper-gtk-theme/paper-gtk-theme.SlackBuild @@ -2,7 +2,7 @@ # # Slackware build script for paper-gtk-theme. # -# Copyright 2016 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# Copyright 2016-2017 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="paper-gtk-theme" -VERSION=${VERSION:-2.1.0} +VERSION=${VERSION:-20160816} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -34,13 +34,16 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} CWD=$(pwd) +SRCVER=${SRCVER:-f75724fd76fd2e5681a367cca246a51f845320c3} + set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz +mv $PRGNAM-$SRCVER $PRGNAM-$VERSION cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -49,11 +52,23 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -mkdir -p $PKG/usr/share/themes/ -cp -a Paper $PKG/usr/share/themes/ +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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION +cp AUTHORS 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/paper-gtk-theme/paper-gtk-theme.info b/desktop/paper-gtk-theme/paper-gtk-theme.info index 2b6edaf78d3fd..0bcd9a0354ea9 100644 --- a/desktop/paper-gtk-theme/paper-gtk-theme.info +++ b/desktop/paper-gtk-theme/paper-gtk-theme.info @@ -1,8 +1,8 @@ PRGNAM="paper-gtk-theme" -VERSION="2.1.0" +VERSION="20160816" HOMEPAGE="https://github.com/snwh/paper-gtk-theme" -DOWNLOAD="https://github.com/snwh/paper-gtk-theme/archive/v2.1.0/paper-gtk-theme-2.1.0.tar.gz" -MD5SUM="f72806e22cdcbf14f15cfa8b20268ced" +DOWNLOAD="https://github.com/snwh/paper-gtk-theme/archive/f75724fd76fd2e5681a367cca246a51f845320c3/paper-gtk-theme-f75724fd76fd2e5681a367cca246a51f845320c3.tar.gz" +MD5SUM="627516d1ae0b467c250af527f7eb71db" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |