aboutsummaryrefslogtreecommitdiffstats
path: root/community/libxpresent/APKBUILD
blob: 8f0d0296c536bd0afa2b855300d0f1f2fffc7818 (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
30
31
32
33
34
35
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxpresent
pkgver=1.0.0
pkgrel=0
pkgdesc="A Xlib-compatible API for the Present extension"
url="http://xorg.freedesktop.org/"
arch="all"
license="MIT"
options="!check"  # No test suite.
depends=
makedepends="xorgproto libx11-dev libxext-dev libxfixes-dev libxrandr-dev
	util-macros"
subpackages="$pkgname-dev $pkgname-doc"
source="https://www.x.org/releases/individual/lib/libXpresent-$pkgver.tar.bz2"

builddir="$srcdir"/libXpresent-$pkgver

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="e88b4ec4fcbc0417a0cbecc0ecd73f8085c496dc6d1a4902b6550750a69a1cb8bb76c436c7941ee3bf3c61ffc85bbd8f8327fca30f14815dbef1cd53bb8db16b  libXpresent-1.0.0.tar.bz2"