Commit 0d930803 authored by Natanael Copa's avatar Natanael Copa
Browse files

main/firefox: split out pdfjs to a subpackage

parent 1a7dbb7e
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment