aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxcursor/APKBUILD
blob: 44cf51f2c27a2f28dd1bb9d7c7a3e4d034f119d7 (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.12
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="a93b5a6f5b05976d2c0d3f8a07f6ac6a  libXcursor-1.1.12.tar.bz2"