summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMuflone2017-03-05 18:18:59 +0100
committerMuflone2017-03-05 18:18:59 +0100
commit8bbe88d9bf3f94d7b6ee2d705806c21384c83b6e (patch)
tree73753f2bd7b26c6b40215f715d4deb20a62aa8bc
parentcb2b60ebff268551345e900c0aa0988f840f5e4d (diff)
downloadaur-8bbe88d9bf3f94d7b6ee2d705806c21384c83b6e.tar.gz
Updated package foxitreader 2.3.0.2174-2
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD9
2 files changed, 8 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 331756eeae8..27d923c26e5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Sat Mar 4 00:22:27 UTC 2017
+# Sun Mar 5 17:17:32 UTC 2017
pkgbase = foxitreader
pkgdesc = A fast, secure and complete PDF viewer
pkgver = 2.3.0.2174
- pkgrel = 1
+ pkgrel = 2
url = https://www.foxitsoftware.com/products/pdf-reader/
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index b2cc335d44b..63f05f64308 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,11 +1,12 @@
# Maintainer: Muflone http://www.muflone.com/contacts/english/
+# Contributor: Stephen Zhang <zsrkmyn at gmail dot com>
# Contributor: TDY <tdy@archlinux.info>
pkgname=foxitreader
pkgver=2.3.0.2174
_frrev_i686=r242174
_frrev_x86_64=${_frrev_i686}
-pkgrel=1
+pkgrel=2
pkgdesc="A fast, secure and complete PDF viewer"
arch=('i686' 'x86_64')
url="https://www.foxitsoftware.com/products/pdf-reader/"
@@ -50,12 +51,13 @@ package() {
patch -p1 -i "${srcdir}/${pkgname}.patch"
# Remove useless files
cd "${pkgdir}/usr/lib/${pkgname}"
- rm "lib/.directory" "Activation" "Activation.desktop" "Activation.sh" \
+ rm "Activation" "Activation.desktop" "Activation.sh" \
"countinstalltion" "countinstalltion.sh" \
"installUpdate" "ldlibrarypath.sh" \
"maintenancetool.sh" "Uninstall.desktop" \
"Update.desktop" "updater" "updater.sh"
- rm -rf "welcome/images/.svn" "manual/en_us/.svn"
+ find -type d -name .svn -exec rm -rf {} +
+ find -type f -name .directory -exec rm -rf {} +
# Install icon and desktop files
install -m 755 -d "${pkgdir}/usr/share/pixmaps"
install -m 644 "images/FoxitReader.png" \
@@ -63,6 +65,7 @@ package() {
install -m 755 -d "${pkgdir}/usr/share/applications"
install -m 755 "FoxitReader.desktop" \
"${pkgdir}/usr/share/applications/${pkgname}.desktop"
+ rm FoxitReader.desktop
# Install license file
install -m 755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m 644 -t "${pkgdir}/usr/share/licenses/${pkgname}" "${srcdir}/eula.html"