aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxi/APKBUILD
blob: 7d97c14b51f665dd8400c5e4e5458fa0455fe4a4 (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
36
37
38
39
40
41
42
43
44
45
46
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxi
pkgver=1.7.9
pkgrel=2
pkgdesc="X11 Input extension library"
url="http://xorg.freedesktop.org"
arch="all"
license="custom"
options="!check"  # No test suite.
subpackages="$pkgname-dev $pkgname-doc"
depends=
makedepends="
	xorgproto
	libx11-dev
	libxext-dev
	libxfixes-dev
	pkgconfig
	util-macros
	xmlto
	"
source="https://www.x.org/releases/individual/lib/libXi-$pkgver.tar.bz2"

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

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

md5sums="1f0f2719c020655a60aee334ddd26d67  libXi-1.7.9.tar.bz2"
sha256sums="c2e6b8ff84f9448386c1b5510a5cf5a16d788f76db018194dacdc200180faf45  libXi-1.7.9.tar.bz2"
sha512sums="9f1536944fcd232ba725addbc3afb1154c4e0df3c4380f4a54bada31371029ce3714fe0458529cd6b2787e3283f3bd35366420bca15fedfbd41f2f6b10eddce5  libXi-1.7.9.tar.bz2"