summaryrefslogtreecommitdiff
path: root/libre/iceweasel-firebug/PKGBUILD
blob: 3920bd4f690dd6215ca552faeaa02f9c00c9d889 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $Id: PKGBUILD 105364 2014-02-06 03:30:33Z speps $
# Maintainer: speps <speps at aur dot archlinux dot org>

pkgname=iceweasel-firebug
pkgver=1.12.6
pkgrel=1.1
pkgdesc="Iceweasel plugin with tools for web development."
arch=(any)
url="http://getfirebug.com/"
license=('custom:BSD')
groups=('iceweasel-addons')
depends=('iceweasel-libre')
provides=('firebug' firefox-firebug=$pkgver)
source=("${url}releases/firebug/${pkgver%.*}/firebug-$pkgver.xpi")
md5sums=('e929032f03f3af210355905cd4ddf6d3')

package() {
  cd "$srcdir"

  # extension
  _dest="$pkgdir/usr/lib/iceweasel/browser/extensions/firebug@software.joehewitt.com"
  find . -type d -exec install -d {} $_dest/{} \;
  find . -type f -exec install -Dm644 {} $_dest/{} \;

  # license
  install -Dm644 license.txt \
    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

# vim:set ts=2 sw=2 et: