summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMuflone2016-04-25 23:10:31 +0200
committerMuflone2016-04-25 23:10:31 +0200
commit03a962aed4f4475f668234e317ed5d3738d25712 (patch)
tree3ca965534c4d4e6c8048aebe7eee004783c33abf
parent844cf2a5d244c812b5f3b91ff04d0aa85a5b3902 (diff)
downloadaur-03a962aed4f4475f668234e317ed5d3738d25712.tar.gz
Updated package foxitreader 1:1.1.0.0225-2
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD8
-rw-r--r--foxitreader.patch13
3 files changed, 19 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2cebd1eef32..3ed3dd3bf6a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Sun Mar 6 02:13:53 UTC 2016
+# Mon Apr 25 21:08:44 UTC 2016
pkgbase = foxitreader
pkgdesc = A fast, secure and complete PDF viewer
pkgver = 1.1.0.0225
- pkgrel = 1
+ pkgrel = 2
epoch = 1
url = http://www.foxitsoftware.com/Secure_PDF_Reader/
install = foxitreader.install
@@ -17,7 +17,7 @@ pkgbase = foxitreader
source = https://www.foxitsoftware.com/products/pdf-reader/eula.html
source = foxitreader.patch
sha256sums = a5be3dc1cf27536de2c0fb5a0d640db349be32f48547b3cc56dcb5791fb278be
- sha256sums = cd1c29f50086b9d754d925728207343f5a4d3d6bc13cef3679bb6e86244990a4
+ sha256sums = 2111205034f47ba57e1fa328e3f190f9f33c8680927cc9a0492ca98cff0107b3
source_i686 = http://cdn01.foxitsoftware.com/pub/foxit/reader/desktop/linux/1.x/1.1/en_us/FoxitReader1.10.0225_Server_x86_enu_Setup.run.tar.gz
sha256sums_i686 = 16984a9b52537dcb57c2304441fca3a906a8bd7271f1f4919fcdc8a5dbdf9fc8
source_x86_64 = http://cdn01.foxitsoftware.com/pub/foxit/reader/desktop/linux/1.x/1.1/en_us/FoxitReader1.10.0225_Server_x64_enu_Setup.run.tar.gz
diff --git a/PKGBUILD b/PKGBUILD
index e44a25208f7..3b521e7a927 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@ epoch=1
pkgver=1.1.0.0225
_pkgver=1.10.0225
_pkgrev=205262
-pkgrel=1
+pkgrel=2
pkgdesc="A fast, secure and complete PDF viewer"
arch=('i686' 'x86_64')
url="http://www.foxitsoftware.com/Secure_PDF_Reader/"
@@ -19,7 +19,7 @@ source=("https://www.foxitsoftware.com/products/pdf-reader/eula.html"
source_i686=("http://cdn01.foxitsoftware.com/pub/foxit/reader/desktop/linux/1.x/${pkgver%.*.*}/en_us/FoxitReader${_pkgver}_Server_x86_enu_Setup.run.tar.gz")
source_x86_64=("http://cdn01.foxitsoftware.com/pub/foxit/reader/desktop/linux/1.x/${pkgver%.*.*}/en_us/FoxitReader${_pkgver}_Server_x64_enu_Setup.run.tar.gz")
sha256sums=('a5be3dc1cf27536de2c0fb5a0d640db349be32f48547b3cc56dcb5791fb278be'
- 'cd1c29f50086b9d754d925728207343f5a4d3d6bc13cef3679bb6e86244990a4')
+ '2111205034f47ba57e1fa328e3f190f9f33c8680927cc9a0492ca98cff0107b3')
sha256sums_i686=('16984a9b52537dcb57c2304441fca3a906a8bd7271f1f4919fcdc8a5dbdf9fc8')
sha256sums_x86_64=('2967571a4844ab834e03f9d63ee89c3df027ac16c8ae25e6f7affee70654c1cf')
@@ -54,7 +54,7 @@ package() {
cd "${pkgdir}/usr/lib/${pkgname}"
rm "lib/.directory" "Activation" "Activation.desktop" "Activation.sh" \
"countinstalltion" "countinstalltion.sh" \
- "FoxitReader.sh" "installUpdate" "ldlibrarypath.sh" \
+ "installUpdate" "ldlibrarypath.sh" \
"maintenancetool.sh" "Uninstall.desktop" \
"Update.desktop" "updater" "updater.sh" \
"manual/en_us/FoxitReader1.0_QuickGuide_Linux.pdf" \
@@ -73,6 +73,6 @@ package() {
# Install launcher script
cd "${pkgdir}"
install -m 755 -d "${pkgdir}/usr/bin"
- ln -s "/usr/lib/${pkgname}/FoxitReader" "${pkgdir}/usr/bin/${pkgname}"
+ ln -s "/usr/lib/${pkgname}/FoxitReader.sh" "${pkgdir}/usr/bin/${pkgname}"
}
diff --git a/foxitreader.patch b/foxitreader.patch
index 9228c59b3fb..d77455af664 100644
--- a/foxitreader.patch
+++ b/foxitreader.patch
@@ -1,6 +1,6 @@
diff -Naur foxitreader.orig/usr/lib/foxitreader/FoxitReader.desktop foxitreader/usr/lib/foxitreader/FoxitReader.desktop
--- foxitreader.orig/usr/lib/foxitreader/FoxitReader.desktop 2016-02-16 15:23:41.000000000 +0100
-+++ foxitreader/usr/lib/foxitreader/FoxitReader.desktop 2016-03-06 02:41:40.882259342 +0100
++++ foxitreader/usr/lib/foxitreader/FoxitReader.desktop 2016-04-25 21:26:52.134050652 +0200
@@ -1,10 +1,11 @@
[Desktop Entry]
Name=Foxit Reader
@@ -15,3 +15,14 @@ diff -Naur foxitreader.orig/usr/lib/foxitreader/FoxitReader.desktop foxitreader/
-Icon=FoxitReader
+Icon=foxitreader
+Exec=foxitreader %F
+diff -Naur foxitreader.orig/usr/lib/foxitreader/FoxitReader.sh foxitreader/usr/lib/foxitreader/FoxitReader.sh
+--- foxitreader.orig/usr/lib/foxitreader/FoxitReader.sh 2016-02-16 15:23:41.000000000 +0100
++++ foxitreader/usr/lib/foxitreader/FoxitReader.sh 2016-04-25 21:32:42.102968443 +0200
+@@ -1,3 +1,5 @@
+ #!/bin/sh
+- appname="FoxitReader"
+-
++appname="FoxitReader"
++selfpath="$(dirname $(readlink "$0"))"
++export LD_LIBRARY_PATH="${selfpath}/lib:${selfpath}/platforms:${selfpath}/printsupport:${selfpath}/rmssdk:${selfpath}/sensors:${selfpath}/imageformats:${selfpath}/platforminputcontexts"
++exec "${selfpath}/${appname}" "$@"