aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxcursor/APKBUILD
blob: 07bc5dc170200c7210a587ee928b3d4be06ad58d (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=libxcursor
pkgver=1.2.0
pkgrel=0
pkgdesc="X cursor management library"
url="http://xorg.freedesktop.org/"
arch="all"
license="MIT"
options="!check"  # No test suite.
subpackages="$pkgname-dev $pkgname-doc"
depends=
makedepends="xorgproto util-macros libx11-dev libxrender-dev libxfixes-dev"
source="https://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="2b12d0fd17e311ce269dbba58588698885815eb07aa44d48525ed5cd9e5f379bb90138a792a191e2f74888ab10b3ca9a4f507f21de0984ed79748973ab927a03  libXcursor-1.2.0.tar.bz2"