updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / firefox-theme-bloomind-ft-deepdark / PKGBUILD
blobb0a7d0fc9f70bb5c6aa095d28a96bc0c73e56981
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.6.1
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/141387/ft_deepdark-2.9.6.1-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=('b6370df82ac4b5926247f3094d729754')