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

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--with-xmlto \
		--without-fop
	make
}

check() {
	make check
}

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

sha512sums="591f0860bf5904897587c4990d6c852f3729a212d1ef390362d41242440e078221877c31db2232d5cc81727fe97f4e194b077f7de917e251e60641bbd06ee218  libXi-1.7.10.tar.bz2"