summaryrefslogtreecommitdiff
path: root/libraries/libpaper
diff options
context:
space:
mode:
authorTim Dickson <dickson.tim@googlemail.com>2017-06-28 11:07:04 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-28 11:07:04 +0700
commit0851bdcd41d06fee494df526f045e5b8c9a2c177 (patch)
tree4880756a9ff192c720ff36495ad1952adcc8ceb6 /libraries/libpaper
parent2aa165e99c46fbae0e6ab41a189a416d927188db (diff)
downloadslackbuilds-0851bdcd41d06fee494df526f045e5b8c9a2c177.tar.gz
libraries/libpaper: Updated for version 1.1.24+nmu5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libpaper')
-rw-r--r--libraries/libpaper/libpaper.SlackBuild10
-rw-r--r--libraries/libpaper/libpaper.info6
2 files changed, 9 insertions, 7 deletions
diff --git a/libraries/libpaper/libpaper.SlackBuild b/libraries/libpaper/libpaper.SlackBuild
index c5a87b6bb5..e7509c88b6 100644
--- a/libraries/libpaper/libpaper.SlackBuild
+++ b/libraries/libpaper/libpaper.SlackBuild
@@ -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
diff --git a/libraries/libpaper/libpaper.info b/libraries/libpaper/libpaper.info
index 5e1a460f80..ee6afe4d2f 100644
--- a/libraries/libpaper/libpaper.info
+++ b/libraries/libpaper/libpaper.info
@@ -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=""