aboutsummaryrefslogtreecommitdiff
path: root/desktop/pdfsam
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-02-23 08:17:23 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-02-23 12:14:07 +0700
commit47c5f1f25c4a05fda43c87863fbc05454e3ebbdb (patch)
treedd2c4cc065a5aa2250ea7929362df783caab4cdb /desktop/pdfsam
parentf1e88e9971b0ad4c2cf3af062e8214678257cc3d (diff)
desktop/pdfsam: Updated for version 2.2.4e, new deps.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/pdfsam')
-rw-r--r--desktop/pdfsam/doinst.sh3
-rw-r--r--desktop/pdfsam/pdfsam.SlackBuild9
-rw-r--r--desktop/pdfsam/pdfsam.info8
3 files changed, 12 insertions, 8 deletions
diff --git a/desktop/pdfsam/doinst.sh b/desktop/pdfsam/doinst.sh
new file mode 100644
index 0000000000000..5fb28930db0b9
--- /dev/null
+++ b/desktop/pdfsam/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
diff --git a/desktop/pdfsam/pdfsam.SlackBuild b/desktop/pdfsam/pdfsam.SlackBuild
index 4e7c9f73a38a1..282a359f3c669 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}
diff --git a/desktop/pdfsam/pdfsam.info b/desktop/pdfsam/pdfsam.info
index 6cb19ffa87f53..25fa116efbda6 100644
--- a/desktop/pdfsam/pdfsam.info
+++ b/desktop/pdfsam/pdfsam.info
@@ -1,10 +1,10 @@
PRGNAM="pdfsam"
-VERSION="2.2.2e"
+VERSION="2.2.4e"
HOMEPAGE="http://www.pdfsam.org/"
-DOWNLOAD="http://downloads.sourceforge.net/project/pdfsam/pdfsam-enhanced/2.2.2e/pdfsam-2.2.2e-out-src.zip"
-MD5SUM="d0ac4747ad1d6678e89706c4726890ee"
+DOWNLOAD="http://downloads.sourceforge.net/project/pdfsam/pdfsam-enhanced/2.2.4e/pdfsam-2.2.4e-out-src.zip"
+MD5SUM="c115216435074c4c11cf3e01877a863f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="apache-ant"
+REQUIRES="apache-ant jdk"
MAINTAINER="Floreal C."
EMAIL="floreal DOT cab AT gmail DOT com"