aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxxf86vm/APKBUILD
blob: 87fe594de1732d73b16ef9fe4c0e0b5e93a35120 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxxf86vm
pkgver=1.1.0
pkgrel=2
pkgdesc="X11 XFree86 video mode extension library"
url="http://xorg.freedesktop.org/"
license="custom"
subpackages="$pkgname-dev $pkgname-doc"
depends=
makedepends="pkgconfig xproto libx11-dev xf86vidmodeproto xextproto
	libxext-dev"
source="http://xorg.freedesktop.org/releases/individual/lib/libXxf86vm-$pkgver.tar.bz2"

depends_dev="xf86vidmodeproto libx11-dev libxext-dev"

build() {
	cd "$srcdir"/libXxf86vm-$pkgver
	./configure --prefix=/usr || return 1
	make || return 1
}

package() {
	cd "$srcdir"/libXxf86vm-$pkgver
	make DESTDIR="$pkgdir" install || return 1
	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
md5sums="b431ad7084e1055fef99a9115237edd8  libXxf86vm-1.1.0.tar.bz2"