blob: 8d742ef0f10e787751305588fe2aead0e70ad45d (
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 68053 2012-03-17 14:50:10Z heftig $
# 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.5
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=('ffb862e3e5f66555e058b7a29a1c62ff'
'd244f8a4b7a5d5a6b0698306091eb7e7')
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
}
|