aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxcursor/APKBUILD
blob: 34a932b56677042fc0c1cdc2233d6da47a836268 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxcursor
pkgver=1.1.15
pkgrel=0
pkgdesc="X cursor management library"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
options="!check"  # No test suite.
subpackages="$pkgname-dev $pkgname-doc"
depends=
makedepends="util-macros xproto libx11-dev libxrender-dev libxfixes-dev"
source="http://www.x.org/releases/individual/lib/libXcursor-$pkgver.tar.bz2"
builddir="$srcdir"/libXcursor-$pkgver

# secfixes:
#   1.1.15-r0:
#     - CVE-2017-16612

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

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}
sha512sums="53ad0fa2afd7b4cf1108b560e44ea71abdf5c55a18df243d7123942513589c927f5c105395f790d8769959e0129db54264e6aac7efd51a5f1aec270379b1f2f5  libXcursor-1.1.15.tar.bz2"