updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / firefox-theme-bloomind-ft-deepdark / PKGBUILD
blob03a0a163b09575de70f492ec466c40a97b0df811
1 # Maintainer: Tianjiao Yin <ytj000+aur@gmail.com>
3 pkgname=firefox-theme-bloomind-ft-deepdark
4 pkgdesc="Smooth dark theme for Firefox."
5 pkgver=2.9.3
6 pkgrel=1
7 arch=('any')
8 url="https://addons.mozilla.org/firefox/addon/295337"
9 depends=("firefox>=8.0" "firefox<=12.0")
10 license=('custom')
11 source=("https://addons.mozilla.org/firefox/downloads/file/140404/ft_deepdark-2.9.3-fx-linux.jar")
13 build() {
14   cd $srcdir
15   emid=$(sed -n '/.*<em:id>\(.*\)<\/em:id>.*/{s//\1/p;q}' install.rdf) || return 1
16   local dstdir=$pkgdir/usr/lib/firefox/extensions/${emid}
17   install -d $dstdir
18   #sed -i 's#<em:maxVersion>.*</em:maxVersion>#<em:maxVersion>10.*</em:maxVersion>#' install.rdf
19   rm *.jar
20   mv * $dstdir
22 md5sums=('53b438bb1b4dcbb29c6697dccabceae7')