add latest wine - might work also for apps

This commit is contained in:
amnon 2010-07-12 12:58:02 +00:00
parent c4c303970a
commit 4f5a9d5108

38
wine/PKGBUILD Normal file
View File

@ -0,0 +1,38 @@
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=wine
pkgver=1.2rc7
_pkgbasever=1.2-rc7
pkgrel=1
pkgdesc="A compatibility layer for running Windows programs"
url="http://www.winehq.com"
arch=('i686')
license=('LGPL')
depends=('fontconfig' 'libxxf86dga' 'mesa' 'libxcursor' 'libxrandr' 'libxdamage')
makedepends=('cups' 'sane' 'fontforge' 'flex' 'bison' 'libgphoto2'
'libxinerama' 'esound' 'giflib' 'ncurses' 'libxcomposite'
'samba' 'libxpm' 'libxmu' 'libxxf86vm' 'perl' 'libxml2' 'jack'
'libxslt' 'libldap' 'lcms')
optdepends=('cups' 'sane' 'libgphoto2' 'alsa-lib' 'giflib' 'libpng' 'jack'
'libldap' 'lcms')
source=(http://ibiblio.org/pub/linux/system/emulators/${pkgname}/${pkgname}-${_pkgbasever}.tar.bz2)
md5sums=('05cc63418e603f3d689bcaa7c7768d01')
build() {
cd "${srcdir}/${pkgname}-${_pkgbasever}"
./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
}