blob: 2cf05544d62df53d0023538c306386b177ca3960 (
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
31
32
|
# $Id: PKGBUILD 74651 2012-08-01 08:37:25Z bluewind $
# Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com>
# Contributor: Nicky726 (Nicky726 <at> gmail <dot> com)
# Contributor: Allan McRae (allan <at> archlinux <dot> org)
# Contributor: Alexander 'bas' Brovikov (bas <at> it-core <dot> org)
pkgname=wine_gecko
pkgver=1.7
pkgrel=1
pkgdesc="Wine's built-in replacement for Microsoft's Internet Explorer"
arch=(i686 x86_64)
url="http://wiki.winehq.org/Gecko"
license=(MPL)
depends=('wine>=1.5')
source=(http://downloads.sourceforge.net/project/wine/Wine%20Gecko/$pkgver/$pkgname-$pkgver-x86{,_64}.msi)
md5sums=('2f69934abb13dcea0224baf4b4665700'
'903d682ef2b4ef31d256d1bf56d17d08')
if [[ $CARCH == i686 ]]; then
# Strip x86_64 msi
source=(${source[0]})
md5sums=(${md5sums[0]})
fi
package() {
cd "$srcdir"
_geckodir="$pkgdir/usr/share/wine/gecko"
install -Dm644 $pkgname-$pkgver-x86.msi "$_geckodir/$pkgname-$pkgver-x86.msi"
if [[ $CARCH == x86_64 ]]; then
install -m644 $pkgname-$pkgver-x86_64.msi "$_geckodir/"
fi
}
|