updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / addon-compatibility-reporter / PKGBUILD
blob0f0e7a545ff186fe6f534913398b16ab498ef9b8
1 # Contributor: WAntilles <wantilles@adslgr.com>
3 pkgname=addon-compatibility-reporter
4 pkgver=0.8.1
5 ffver=4.0
6 acrfilename=add_on_compatibility_reporter-$pkgver-fx+tb+sm.xpi
7 acrID="compatibility@addons.mozilla.org"
8 pkgrel=1
9 pkgdesc="Add-on Compatibility Reporter addon for Firefox Developer Previews & Betas"
10 arch=('any')
11 sourcetarballdir=https://addons.mozilla.org/firefox/downloads/file/113482
12 license=('MPL' 'GPL')
13 url="https://addons.mozilla.org/addon/15003/"
14 depends=('firefox>=4.0rc1')
15 groups=('firefox-essential-addons' 'firefox-best-addons')
16 source=($sourcetarballdir/$acrfilename)
18 build() {
19     cd ${srcdir}
20     install -m755 -d ${pkgdir}/usr/lib/firefox-$ffver/extensions/$acrID
21     cp -a * ${pkgdir}/usr/lib/firefox-$ffver/extensions/$acrID
22     rm -f ${pkgdir}/usr/lib/firefox-$ffver/extensions/$acrID/$acrfilename
23     cd ${pkgdir}/usr/lib/firefox-$ffver/extensions/$acrID
25     # Fix permissions
26     find -type d -exec chmod 0755 \{\} \+
27     find -type f -exec chmod 0644 \{\} \+
30 md5sums=('0cf3fac53d3c0f78a0cc325a8dc620b3')