aboutsummaryrefslogtreecommitdiffstats
path: root/testing/wine/APKBUILD
blob: 82ecba1b6e8fce3905ce5c437a1126451e46d1a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=wine
pkgver=1.1.36
pkgrel=0
pkgdesc="A compatibility layer for running Windows programs"
url="http://www.winehq.com"
license="LGPL"
subpackages="$pkgname-dev $pkgname-doc"
makedepends="fontconfig-dev openldap-dev libxslt-dev libxxf86dga-dev
	libxcursor-dev libxrandr-dev libxdamage-dev mesa-dev flex bison"
# lcms
source="http://ibiblio.org/pub/linux/system/emulators/$pkgname/$pkgname-$pkgver.tar.bz2
	0001-Always-adjust-the-color_shifts-pointer-when-SelectBi.patch"

build() {
	cd "$srcdir"/$pkgname-$pkgver
	patch -Np1 -i "$srcdir"/0001-Always-adjust-the-color_shifts-pointer-when-SelectBi.patch
	./configure --prefix=/usr --sysconfdir=/etc --with-x
	make depend || return 1
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make prefix="$pkgdir"/usr install || return 1
	mkdir -p "$pkgdir"/etc/wine
}
md5sums="2afa7846175c7c2ce4c7482aa1d82f0f  wine-1.1.36.tar.bz2
63c4a6aee199039d35e6b57fa505e887  0001-Always-adjust-the-color_shifts-pointer-when-SelectBi.patch"