libraries/libpaper: Updated for version 1.1.24+nmu5.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Tim Dickson 2017-06-28 11:07:04 +07:00 committed by Willy Sudiarto Raharjo
parent 2aa165e99c
commit 0851bdcd41
2 changed files with 9 additions and 7 deletions

View File

@ -4,8 +4,9 @@
# Written by Pablo Santamaria (pablosantamaria@gmail.com)
# Update by Tim Dickson (dickson.tim@googlemail.com) for 1.1.24+nmu4 version
# 26/06/2017 updated by Tim Dickson for 1.1.24+nmu5 version
PRGNAM=libpaper
VERSION=${VERSION:-1.1.24+nmu4}
VERSION=${VERSION:-1.1.24+nmu5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -45,7 +46,7 @@ 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}_${VERSION}.tar.gz"
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@ -53,7 +54,9 @@ find -L . \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
#patch configure.ac for default paper size
sed -i "s/PAPERSIZE=letter/PAPERSIZE=$PAPERSIZE/g" configure.ac
autoreconf -i
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@ -65,7 +68,6 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--disable-static \
--build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG

View File

@ -1,8 +1,8 @@
PRGNAM="libpaper"
VERSION="1.1.24+nmu4"
VERSION="1.1.24+nmu5"
HOMEPAGE="https://packages.qa.debian.org/libp/libpaper.html"
DOWNLOAD="https://ftp.de.debian.org/debian/pool/main/libp/libpaper/libpaper_1.1.24+nmu4.tar.gz"
MD5SUM="155d2e589e2f4ef163de8fbbc5d3dd1e"
DOWNLOAD="https://ftp.de.debian.org/debian/pool/main/libp/libpaper/libpaper_1.1.24+nmu5.tar.gz"
MD5SUM="38bc55688c0fc5544edaa5a951a45fbd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""