summaryrefslogtreecommitdiff
path: root/user/libxcursor/APKBUILD
blob: 7f59ad38df1a873f9788319e2d6438e9e9fafaae (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
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libxcursor
pkgver=1.2.2
pkgrel=0
pkgdesc="X cursor management library"
url="https://www.X.Org/"
arch="all"
license="MIT"
depends=""
makedepends="libx11-dev libxfixes-dev libxrender-dev util-macros xorgproto-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://www.X.Org/releases/individual/lib/libXcursor-$pkgver.tar.xz"
builddir="$srcdir"/libXcursor-$pkgver

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

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

check() {
	make check
}

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

sha512sums="6550ce1e69b35ef3356f25e31aa2779503d9cea780eff307cb646364993dfaa971304085d32677e68996bd3b8e067436c8fc89aeb4db07a12ce5bc93b735b5b0  libXcursor-1.2.2.tar.xz"