1 # Maintainer: Alexander Fehr <pizzapunk gmail com>
6 pkgdesc="Firefox extension that makes the location bar look like in Firefox 2"
8 url="https://addons.mozilla.org/en-US/firefox/addon/6227"
11 source=(http://releases.mozilla.org/pub/mozilla.org/addons/6227/oldbar-$pkgver-fx.xpi)
12 md5sums=('a4d7037b8cc1aeee1d2ac60dbc224941')
17 emid=$(sed -n '/.*<em:id>\(.*\)<\/em:id>.*/{s//\1/p;q}' install.rdf)
19 install -d "$pkgdir"/usr/lib/firefox/extensions/$emid
20 cp -a * "$pkgdir"/usr/lib/firefox/extensions/$emid
22 rm -f "$pkgdir"/usr/lib/firefox/extensions/$emid/*.xpi
23 chmod -R -x+X "$pkgdir"/usr/lib/firefox/extensions/$emid
25 # Fix maximum supported version
26 sed -i 's|<em:maxVersion>3.0b4pre</em:maxVersion>|<em:maxVersion>11.*</em:maxVersion>|' \
27 "$pkgdir"/usr/lib/firefox/extensions/$emid/install.rdf