[arch-commits] Commit in pdfsam/trunk (PKGBUILD pdfsam)

Evgeniy Alekseev arcanis at archlinux.org
Wed Mar 20 14:17:45 UTC 2019


    Date: Wednesday, March 20, 2019 @ 14:17:44
  Author: arcanis
Revision: 442964

upgpkg: pdfsam 4.0.1-3

fix launch scirpt (FS#61919)

Modified:
  pdfsam/trunk/PKGBUILD
  pdfsam/trunk/pdfsam

----------+
 PKGBUILD |    6 +++---
 pdfsam   |    4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-20 13:41:42 UTC (rev 442963)
+++ PKGBUILD	2019-03-20 14:17:44 UTC (rev 442964)
@@ -3,10 +3,10 @@
 
 pkgname=pdfsam
 pkgver=4.0.1
-pkgrel=2
+pkgrel=3
 pkgdesc="A free open source tool to split and merge pdf documents"
 arch=('any')
-url="http://www.pdfsam.org/"
+url="https://www.pdfsam.org/"
 license=('AGPL3')
 depends=('hicolor-icon-theme' 'java-environment>=11' 'sh')
 makedepends=('desktop-file-utils' 'gendesk')
@@ -48,4 +48,4 @@
 }
 
 sha512sums=('2ae09a8dca04fd6f1b8b9773b0e12ce68803b2d4f5b231ae25ea1a64f1dcc054b4e9e159418337d4376afecd5adb02635368d99921ea1313832a9e3e6587fbd8'
-            '8be5dd1d9da3c0d646db88b12857f8e7c857447dc9f5344028ecb299b33a08723ab7b1d2b8d5582cee5d85eb632a907c4d153fb1593265dfc01f64b6b1af83bd')
+            'c0d8665e8f0a82e539cd70972f95f819d13b10166f1e4bb04d032d108ef5de45fe77f8716e8e2f0fa129e7042907928bde1d947cc54f691aa6d87a76dfaa10c1')

Modified: pdfsam
===================================================================
--- pdfsam	2019-03-20 13:41:42 UTC (rev 442963)
+++ pdfsam	2019-03-20 14:17:44 UTC (rev 442964)
@@ -30,7 +30,7 @@
 fi
 
 # find valid environment
-PDFSAM_JAVA_ENV="`archlinux-java status | grep "${PDFSAM_JAVA_VERSION}" | awk '{ print $1 }'`"
-export PATH="/usr/lib/jvm/${PDFSAM_JAVA_ENV%/*}/jre/bin/:${PATH}"
+PDFSAM_JAVA_ENV="`archlinux-java status | grep "${PDFSAM_JAVA_VERSION}" | awk '{ print $1 }' | head -1`"
+export PATH="/usr/lib/jvm/${PDFSAM_JAVA_ENV%/*}/bin/:${PATH}"
 echo "Run with exported ${PDFSAM_JAVA_ENV}" >&2
 run_pdfsam


More information about the arch-commits mailing list