updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / firefox-firebug / PKGBUILD
blobda888295a47146d1cb46db9b21a84e5a6f366704
1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
3 _pkg=firebug
4 pkgname=firefox-$_pkg
5 pkgver=1.8.4
6 pkgrel=1
7 pkgdesc="Tools for web development. Inspect, edit and monitor CSS, HTML, JavaScript and Net requests."
8 arch=(any)
9 url="http://getfirebug.com/"
10 license=('BSD')
11 depends=("firefox>=5")
12 provides=("$_pkg")
13 conflicts=('firefox-extension-firebug-stable')
14 replaces=('firefox-extension-firebug-stable')
15 source=("${url}releases/$_pkg/${pkgver%.*}/$_pkg-$pkgver.xpi")
16 md5sums=('1c7247ab3256e9abc78796ba03e5a130')
18 build() {
19   return 0
22 package() {
23   cd "$srcdir"
25   # extension
26   install -d "$pkgdir/usr/lib/firefox/extensions/$(sed -n 's/.*>\(firebug.*\)<.*/\1/p' install.rdf)"
27   cp -a *[^xpi] "$pkgdir/usr/lib/firefox/extensions/"*
29   # license
30   install -Dm644 license.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
33 # vim:set ts=2 sw=2 et: