updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / wine-wc3 / PKGBUILD
blob72fb82aba1e85ff316c7dbf92888ea659417eb54
1 pkgname=wine-wc3
2 pkgver=1.1.5
3 pkgrel=1
5 pkgdesc="Wine build for Warcraft 3. This package solve problem with host game in the local network, hide and restore game window"
6 url="http://www.winehq.com"
7 arch=('i686' 'x86_64')
8 license=(LGPL)
9 install=wine-wc3.install
11 source=(http://snoopy.tuxfamily.org/files/wine-1.1.5-1.1.i386.rpm)
12 md5sums=('e84467228246dbcf1a66bc7077f81ada')
14 makedepends=('rpmextract')
15 if [ "${CARCH}" = 'x86_64' ]; then
16 depends=('lib32-fontconfig' 'lib32-mesa' 'lib32-libxcursor' 'lib32-libxrandr' 'lib32-libxdamage' 'lib32-libxxf86dga' 'lib32-libxi' 'lib32-alsa-lib' 'desktop-file-utils')
17 elif [ "${CARCH}" = 'i686' ]; then
18 depends=('fontconfig' 'mesa' 'libxcursor' 'libxrandr' 'libxdamage' 'libxxf86dga' 'libxi' 'alsa-lib' 'desktop-file-utils')
21 build() {
22         cd $srcdir
23         rpmextract.sh wine-1.1.5-1.1.i386.rpm
24         mkdir -p $pkgdir/opt/wine-wc3
25         cp -aR usr $pkgdir/opt/wine-wc3