summaryrefslogtreecommitdiff
path: root/user/libxxf86vm/APKBUILD
blob: 0f8f91a4aec6885e24cf00182070044aaa6d4643 (plain) (blame)
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
30
31
32
33
34
35
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libxxf86vm
pkgver=1.1.4
pkgrel=2
pkgdesc="X11 XFree86 video mode extension library"
url="https://www.X.Org/"
arch="all"
license="X11"
subpackages="$pkgname-dev $pkgname-doc"
depends=
makedepends="libx11-dev libxext-dev util-macros xorgproto-dev"
source="https://www.X.Org/releases/individual/lib/libXxf86vm-$pkgver.tar.bz2"
builddir="$srcdir"/libXxf86vm-$pkgver

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}

sha512sums="c5f92d86e143db02ebb36bcd25618acaa2cb2831f5a23800a06dd431cd73b6702d95de8fe7407ce626336bf614c288d5256f4d87ea7781fad2ab6c517cbf09e0  libXxf86vm-1.1.4.tar.bz2"