updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / firefox-speed-dial / PKGBUILD
blob4828d034869a63c2c131e7c8c364ce643119c1a8
1 # Maintainer: Alexander Fehr <pizzapunk gmail com>
3 pkgname=firefox-speed-dial
4 pkgver=0.9.6.5
5 pkgrel=1
6 pkgdesc="Firefox extension that simplifies the access to your most visited websites"
7 arch=('any')
8 url="http://speeddial.uworks.net/"
9 license=('GPL2' 'LGPL2.1' 'MPL')
10 depends=('firefox')
11 source=(http://speeddial.uworks.net/speed_dial-$pkgver-fx.xpi)
12 md5sums=('ab320d963af5ec2d74f77dd57dd0edf4')
14 package() {
15   cd "$srcdir"
17   emid=$(sed -n '/.*<em:id>\(.*\)<\/em:id>.*/{s//\1/p;q}' install.rdf)
19   install -d -m755 "$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