1 # $Id: PKGBUILD 44759 2009-07-03 21:39:41Z giovanni $
2 # Maintainer: Eduardo Romero <eduardo@archlinux.org>
3 # Contributor: Giovanni Scafora <giovanni@archlinux.org>
9 pkgdesc="A compatibility layer for running Windows programs without X dependencies with patch for d2gs."
10 url="http://www.winehq.com"
14 makedepends=('ncurses' 'perl' 'libxml2' 'flex' 'perl')
15 optdepends=("cups" "sane" "libgphoto2" "alsa-lib" "giflib" "libpng")
16 source=(http://downloads.sourceforge.net/$_realname/$_realname-${pkgver}.tar.bz2 d2gs.patch)
17 provides=("$_realname=$pkgver")
22 cd ${srcdir}/${_realname}-${pkgver}
23 patch -p1 < ../d2gs.patch || return 1
24 ./configure --prefix=/usr \
29 make depend || return 1
32 cd ${srcdir}/${_realname}-${pkgver}
34 make prefix=${pkgdir}/usr install || return 1
35 mkdir -p ${pkgdir}/etc/wine
37 md5sums=('cbde85e50db653f54fe9da34be4a6de5'
38 'a265aca53b8e6b2d56ed7a54b7df1bc5')