summaryrefslogtreecommitdiffstats
path: root/main/libxcursor/APKBUILD
blob: cc57d8980451cdbab78f53247550197586f33f3b (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxcursor
pkgver=1.1.13
pkgrel=0
pkgdesc="X cursor management library"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
subpackages="$pkgname-dev $pkgname-doc"
depends=
makedepends="pkgconfig libxfixes-dev libx11-dev libxrender-dev"
source="http://xorg.freedesktop.org/releases/individual/lib/libXcursor-$pkgver.tar.bz2"

depends_dev="xproto libx11-dev libxrender-dev libxfixes-dev"
build() {
	cd "$srcdir"/libXcursor-$pkgver
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		|| return 1
	make || return 1
}

package() {
	cd "$srcdir"/libXcursor-$pkgver
	make DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/*.la || return 1
}
md5sums="52efa81b7f26c8eda13510a2fba98eea  libXcursor-1.1.13.tar.bz2"