1 # Contributor: Vamp898 <vamp898@web.de>
8 _pkgbasever=${pkgver/rc/-rc}
10 source=(http://ibiblio.org/pub/linux/system/emulators/$pkgname_real/$pkgname_real-$_pkgbasever.tar.bz2)
12 pkgdesc="A compatibility layer for running Windows programs"
13 url="http://www.winehq.com"
16 depends=(fontconfig mesa libxcursor libxrandr libxdamage libxxf86dga alsa-lib)
17 makedepends=(autoconf ncurses bison perl fontforge flex prelink libgphoto2 giflib libxpm libpng libxinerama libxcomposite libxmu libxxf86vm libxml2 libxslt libldap lcms mpg123 openal esound jack cups sane samba)
18 optdepends=(libgphoto2 giflib libpng libldap lcms libxml2 mpg123 openal esound jack cups sane samba)
24 # Allow ccache to work
25 mv $pkgname_real-$_pkgbasever $pkgname_real
27 # (Re)create build dirs
28 rm -rf $pkgname_real-32-build
29 mkdir $pkgname_real-32-build
31 msg2 "Building Wine..."
33 cd "$srcdir/$pkgname_real-32-build"
34 ../$pkgname_real/configure \
44 msg2 "Packaging Wine..."
46 cd "$srcdir/$pkgname_real-32-build"
47 make prefix="$pkgdir/usr" install
48 mkdir -p "$pkgdir/etc/wine"
50 md5sums=('a18ca677d1e01d1596d6692a8f3997e5')