PKGBUILDs/extra/wine/PKGBUILD
2009-10-09 21:23:22 -05:00

30 lines
1.1 KiB
Bash

# $Id: PKGBUILD 53209 2009-09-27 00:21:00Z giovanni $
# Maintainer: Eduardo Romero <eduardo@archlinux.org>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
pkgname=wine
pkgver=1.1.30
pkgrel=1
pkgdesc="A compatibility layer for running Windows programs"
url="http://www.winehq.com"
arch=('i686')
license=('LGPL')
depends=('fontconfig' 'libldap' 'libxslt' 'lcms' 'libxxf86dga' \
'libxcursor' 'libxrandr' 'libxdamage' 'mesa')
makedepends=('cups' 'sane' 'fontforge' 'flex' 'bison' 'libgphoto2'
'libxinerama' 'esound' 'giflib' 'ncurses' 'libxcomposite' 'samba' \
'libxpm' 'libxmu' 'libxxf86vm' 'perl' 'libxml2')
optdepends=("cups" "sane" "libgphoto2" "alsa-lib" "giflib" "libpng")
source=(http://ibiblio.org/pub/linux/system/emulators/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
md5sums=('3b78497f71cf6f112bac6de74e5cb29f')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr \
--sysconfdir=/etc \
--with-x
make depend || return 1
make || return 1
make prefix=${pkgdir}/usr install || return 1
mkdir -p ${pkgdir}/etc/wine
}