aboutsummaryrefslogtreecommitdiffstats
path: root/main/firefox/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/firefox/APKBUILD')
-rw-r--r--main/firefox/APKBUILD10
1 files changed, 8 insertions, 2 deletions
diff --git a/main/firefox/APKBUILD b/main/firefox/APKBUILD
index b01b997861..c8f5ca66e4 100644
--- a/main/firefox/APKBUILD
+++ b/main/firefox/APKBUILD
@@ -4,7 +4,7 @@ pkgname=firefox
pkgver=20.0.1
_pkgver=$pkgver
_xulver=$pkgver
-pkgrel=0
+pkgrel=1
pkgdesc="firefox web browser"
url="http://www.firefox.com"
arch="all"
@@ -45,7 +45,7 @@ makedepends="xulrunner-dev>=${_xulver}
paxctl"
install=""
-subpackages=""
+subpackages="$pkgname-pdfjs"
source="ftp://ftp.mozilla.org/pub/firefox/releases/$pkgver/source/firefox-$pkgver.source.tar.bz2
mozconfig
firefox-5.0-asciidel.patch
@@ -124,6 +124,12 @@ __EOF__
"$pkgdir"/$_mozappdir/defaults/preferences/vendor.js
}
+pdfjs() {
+ pkgdesc="Firefox PDF Reader in JavaScript"
+ mkdir -p "$subpkgdir"/$_mozappdir/chrome
+ mv "$pkgdir"/$_mozappdir/chrome/pdfjs "$subpkgdir"/$_mozappdir/chrome/
+}
+
md5sums="b822ff4b2348410587dec563235d9320 firefox-20.0.1.source.tar.bz2
98bcd8b2d33037f12ca513882fc5d831 mozconfig
2328df219e042f6aaec361cbf83cf9e9 firefox-5.0-asciidel.patch