updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / wine-no-x / PKGBUILD
blobb0db72a8e681c6b2d76d533267d937e8519645f3
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>
5 pkgname=wine-no-x
6 _realname=wine
7 pkgver=1.1.39
8 pkgrel=1
9 pkgdesc="A compatibility layer for running Windows programs without X dependencies with patch for d2gs."
10 url="http://www.winehq.com"
11 arch=('i686')
12 license=('LGPL')
13 depends=()
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")
18 conflicts=('wine')
21 build() {
22   cd ${srcdir}/${_realname}-${pkgver}
23   patch -p1 < ../d2gs.patch || return 1
24   ./configure --prefix=/usr \
25               --sysconfdir=/etc \
26               --without-x \
27               --without-opengl \
28               --without-freetype
29   make depend || return 1
31 package() {
32   cd ${srcdir}/${_realname}-${pkgver}
33   make || return 1
34   make prefix=${pkgdir}/usr install || return 1
35   mkdir -p ${pkgdir}/etc/wine
37 md5sums=('cbde85e50db653f54fe9da34be4a6de5'
38          'a265aca53b8e6b2d56ed7a54b7df1bc5')