# Maintainer: Natanael Copa pkgname=wine pkgver=1.1.43 pkgrel=0 pkgdesc="A compatibility layer for running Windows programs" url="http://www.winehq.com" license="LGPL" subpackages="$pkgname-dev $pkgname-doc" makedepends="fontconfig-dev openldap-dev libxslt-dev libxxf86dga-dev libxcursor-dev libxrandr-dev libxdamage-dev mesa-dev flex bison libpng-dev jpeg-dev freetype-dev" # lcms source="http://ibiblio.org/pub/linux/system/emulators/$pkgname/$pkgname-$pkgver.tar.bz2 dn_skipname.patch" _builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$_builddir" patch -p1 -i "$srcdir"/dn_skipname.patch || return 1 } build() { cd "$_builddir" ./configure --prefix=/usr \ --sysconfdir=/etc \ --with-x make depend && make } package() { cd "$srcdir"/$pkgname-$pkgver make prefix="$pkgdir"/usr install || return 1 mkdir -p "$pkgdir"/etc/wine } md5sums="78e3c8d8d39625d7959ffe070a59028d wine-1.1.43.tar.bz2 6ebeaa64eddf97be3267db236ce84b71 dn_skipname.patch"