Added dnssec-root-zone-trust-anchors to dependencies
[mirrors/ArchLinux-Packages.git] / opera-mini / PKGBUILD
CommitLineData
209feeb0
H
1pkgname=opera-mini
2pkgver=4.2.13337
3pkgrel=2
4arch=('any')
5pkgdesc="Opera-mini (Mobile Edition)"
6url="http://www.opera.com/mini/download"
7license=('custom')
8depends=('jre' 'microemulator')
9source=(http://mini.opera.com/global/opera-mini-$pkgver-advanced-${LANG:0:2}.jar
10 http://mini.opera.com/global/opera-mini-$pkgver-advanced-${LANG:0:2}.jad
11 opera-mini.launcher opera-mini.desktop)
12noextract=(opera-mini-$pkgver-advanced-${LANG:0:2}.jar opera-mini-$pkgver-advanced-${LANG:0:2}.jad)
13md5sums=()
14
15build() {
16 cd $srcdir
17 mkdir -p "$pkgdir"/usr/share/java/microemulator/apps/
18 install -Dm644 $srcdir/opera-mini-$pkgver-advanced-${LANG:0:2}.ja* "$pkgdir"/usr/share/java/microemulator/apps/
19 mkdir -p "$pkgdir"/usr/share/applications/
20 sed -e "s/latest/$pkgver/" -i $srcdir/opera-mini.launcher
21 sed -e "s/111language111/${LANG:0:2}/" -i $srcdir/opera-mini.launcher
22 install -Dm755 $srcdir/opera-mini.launcher "$pkgdir"/usr/bin/opera-mini
23 install -Dm644 $srcdir/opera-mini.desktop \
24 "$pkgdir"/usr/share/applications/
25
26}
This page took 0.116274 seconds and 4 git commands to generate.