summaryrefslogtreecommitdiff
path: root/desktop/paper-icon-theme/paper-icon-theme.SlackBuild
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2017-11-17 15:34:06 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-11-18 12:40:32 +0700
commit8f97afeb70b810e622dff00a3d51a317e8811f53 (patch)
treef63ce38e9077e9b7f0cec5ea2864ee3d31d6d240 /desktop/paper-icon-theme/paper-icon-theme.SlackBuild
parent86447896281f495f2af852fbd1dbd72e51b32c2e (diff)
downloadslackbuilds-8f97afeb70b810e622dff00a3d51a317e8811f53.tar.gz
desktop/paper-icon-theme: Updated for version 20170917.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop/paper-icon-theme/paper-icon-theme.SlackBuild')
-rw-r--r--desktop/paper-icon-theme/paper-icon-theme.SlackBuild25
1 files changed, 20 insertions, 5 deletions
diff --git a/desktop/paper-icon-theme/paper-icon-theme.SlackBuild b/desktop/paper-icon-theme/paper-icon-theme.SlackBuild
index ddaca03e2e..6b15439284 100644
--- a/desktop/paper-icon-theme/paper-icon-theme.SlackBuild
+++ b/desktop/paper-icon-theme/paper-icon-theme.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM="paper-icon-theme"
-VERSION=${VERSION:-1.4.0}
+VERSION=${VERSION:-20170917}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -34,13 +34,16 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
CWD=$(pwd)
+SRCVER=${SRCVER:-c153195cb8e11b4d0130a216cd7c18b6d7d415da}
+
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/icons
-mv Paper Paper-Mono-Dark $PKG/usr/share/icons/
+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 COPYING 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