updated on Fri Jan 20 04:00:45 UTC 2012
[aur-mirror.git] / firefox-raismth / PKGBUILD
blobcdc59b08f4bde9f337863a2c1e004cb21a007d1c
1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
3 _pkg=raismth
4 pkgname=firefox-$_pkg
5 pkgver=2.0.0
6 pkgrel=5
7 pkgdesc="Rai.tv live channels, vod and replay contents w/o *light (Silverlight/Moonlight)"
8 arch=(any)
9 url="http://acab.servebeer.com/"
10 license=('GPL')
11 depends=('firefox')
12 provides=("$_pkg")
13 #source=("$url$_pkg.xpi")
14 source=("https://addons.mozilla.org/firefox/downloads/file/131072/rai_smooth_streaming_player_$pkgname-$pkgver-sm+fx.xpi")
15 md5sums=('a678d95dc976df3e6345054f71c2daad')
17 build() {
18   return 0
21 package() {
22   cd "$srcdir"
24   # extension
25   install -d "$pkgdir/usr/lib/firefox/extensions/raismth@mitm.rc"
26   cp -a *[^xpi] "$pkgdir/usr/lib/firefox/extensions/"*
28   # change max supported version to 9
29   find "$pkgdir" -name install.rdf -exec sed -i '/Version/s/7/9/' {} \;
32 # vim:set ts=2 sw=2 et: