aboutsummaryrefslogtreecommitdiffstats
path: root/main/firefox
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-04-17 08:21:15 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-04-17 09:10:37 +0000
commit0d930803d87189c9ec172a982dee57651465f0ec (patch)
tree5080b27bcdee4cd07822085eb9c4d47321408b6f /main/firefox
parent1a7dbb7e0122b85b44db53e5039327d8a3fe887a (diff)
downloadaports-0d930803d87189c9ec172a982dee57651465f0ec.tar.bz2
aports-0d930803d87189c9ec172a982dee57651465f0ec.tar.xz
main/firefox: split out pdfjs to a subpackage
Diffstat (limited to 'main/firefox')
-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