diff options
author | Tim Dickson <dickson.tim@googlemail.com> | 2017-06-28 11:07:04 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-06-28 11:07:04 +0700 |
commit | 0851bdcd41d06fee494df526f045e5b8c9a2c177 (patch) | |
tree | 4880756a9ff192c720ff36495ad1952adcc8ceb6 /libraries/libpaper/libpaper.SlackBuild | |
parent | 2aa165e99c46fbae0e6ab41a189a416d927188db (diff) |
libraries/libpaper: Updated for version 1.1.24+nmu5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libpaper/libpaper.SlackBuild')
-rw-r--r-- | libraries/libpaper/libpaper.SlackBuild | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/libraries/libpaper/libpaper.SlackBuild b/libraries/libpaper/libpaper.SlackBuild index c5a87b6bb545c..e7509c88b6bcc 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 |