summaryrefslogtreecommitdiffstats
path: root/desktop/pdfsam/pdfsam.SlackBuild
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo2017-02-23 02:17:23 +0100
committer Willy Sudiarto Raharjo2017-02-23 06:14:07 +0100
commit47c5f1f25c4a05fda43c87863fbc05454e3ebbdb (patch)
treedd2c4cc065a5aa2250ea7929362df783caab4cdb /desktop/pdfsam/pdfsam.SlackBuild
parentf1e88e9971b0ad4c2cf3af062e8214678257cc3d (diff)
downloadslackbuilds-47c5f1f25c4a05fda43c87863fbc05454e3ebbdb.tar.gz
desktop/pdfsam: Updated for version 2.2.4e, new deps.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/pdfsam/pdfsam.SlackBuild')
-rw-r--r--desktop/pdfsam/pdfsam.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/desktop/pdfsam/pdfsam.SlackBuild b/desktop/pdfsam/pdfsam.SlackBuild
index 4e7c9f73a3..282a359f3c 100644
--- a/desktop/pdfsam/pdfsam.SlackBuild
+++ b/desktop/pdfsam/pdfsam.SlackBuild
@@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pdfsam
-VERSION=${VERSION:-2.2.2e}
+VERSION=${VERSION:-2.2.4e}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -134,6 +134,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}