diff options
author | Edinaldo P. Silva <edps.mundognu@gmail.com> | 2017-11-17 15:36:24 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-11-18 12:40:33 +0700 |
commit | 00439c854b068c866d0aaeb0a0fcce5c0debeb80 (patch) | |
tree | a5158dff978fc65f2155450b38d9d097c3a507b6 /desktop/paper-gtk-theme/paper-gtk-theme.SlackBuild | |
parent | 8f97afeb70b810e622dff00a3d51a317e8811f53 (diff) | |
download | slackbuilds-00439c854b068c866d0aaeb0a0fcce5c0debeb80.tar.gz |
desktop/paper-gtk-theme: Updated for version 20160816.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop/paper-gtk-theme/paper-gtk-theme.SlackBuild')
-rw-r--r-- | desktop/paper-gtk-theme/paper-gtk-theme.SlackBuild | 27 |
1 files changed, 21 insertions, 6 deletions
diff --git a/desktop/paper-gtk-theme/paper-gtk-theme.SlackBuild b/desktop/paper-gtk-theme/paper-gtk-theme.SlackBuild index efb5207f12..8dc92e0aa0 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 |