1 # Maintainer Nixtrian@gmail.com
7 pkgdesc="Interpreter for the Winidows APIs with 64bit patch (Only 64bit windows apps supported)"
8 url="http://www.winehq.com/"
11 depends=('alsa-lib' 'dbus' 'gcc-libs' 'fontconfig' 'freeglut' 'freetype2' 'gtk2' 'lcms' 'libcups' 'libgl' 'libice' 'libjpeg' 'libldap' 'libpng' 'libsasl' 'libsm' 'libusb' 'libx11' 'libxau' 'libxcomposite' 'libxcursor' 'libxdamage' 'libxext' 'libxi' 'libxinerama' 'libxml2' 'libxrandr' 'libxrender' 'libxslt' 'libxt' 'libxtst' 'libxv' 'libxxf86vm' 'mesa' 'ncurses' 'openssl' 'libxxf86dga' 'pkgconfig' 'xproto' 'giflib' 'flex')
12 makedepends=('git' 'fakeroot' 'make' 'pkgconfig')
13 conflicts=('bin32-wine' 'bin32-wine-suse' 'wine' 'wine-git')
14 provides=("wine-git=$pkgver" "wine")
18 _gitroot="git://source.winehq.org/git/wine.git"
24 msg "Connecting to GIT server...."
26 if [ -d ${srcdir}/$_gitname ] ; then
27 cd $_gitname && git pull origin
28 msg "Local repository updated."
30 git clone $_gitroot $_gitname
33 msg "GIT checkout done or server timeout"
35 msg "Removing old build directory..."
36 rm -Irf ${srcdir}/$_gitname-build
38 msg "Creating new build directory..."
39 cp -r ${srcdir}/$_gitname ${srcdir}/$_gitname-build
41 msg "Starting make..."
42 cd ${srcdir}/$_gitname-build
44 ./configure --enable-win64 --prefix=/usr || return 1
47 make DESTDIR=${pkgdir} install || return 1
49 find ${pkgdir} -type f -name '*.la' -exec rm {} \;