desktop/wine_gecko/PKGBUILD
2012-03-20 00:20:59 +00:00

30 lines
807 B
Bash

# Apps packages for Chakra
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.3.34')
categories=('system')
source=(http://downloads.sourceforge.net/project/wine/Wine%20Gecko/$pkgver/$pkgname-$pkgver-x86{,_64}.msi)
md5sums=('ffb862e3e5f66555e058b7a29a1c62ff'
'7b4811f667fd01d300fdff68420a9c72')
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
}