summaryrefslogtreecommitdiff
path: root/user/libxcomposite/APKBUILD
blob: f390a120425993ab7dd92415943bfd0e9e2a1ee3 (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
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libxcomposite
pkgver=0.4.5
pkgrel=0
pkgdesc="X11 Composite extension library"
url="https://www.X.Org/"
arch="all"
license="MIT"
depends=""
depends_dev="libxext-dev"
makedepends="libx11-dev libxext-dev libxfixes-dev util-macros xorgproto-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://www.X.Org/releases/individual/lib/libXcomposite-$pkgver.tar.bz2"
builddir="$srcdir"/libXcomposite-$pkgver

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc
	make
}

check() {
	make check
}

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

sha512sums="502fd51fd9097bb3ca72174ac5b25b9d3b1ff240d32c4765199df03d89337d94b4ddea49e90b177b370862430089d966ce9c38988337156352cfeae911c2d3d5  libXcomposite-0.4.5.tar.bz2"