diff options
-rw-r--r-- | x11/libxcursor/APKBUILD | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/x11/libxcursor/APKBUILD b/x11/libxcursor/APKBUILD index ab56e879c..bc9e33d4c 100644 --- a/x11/libxcursor/APKBUILD +++ b/x11/libxcursor/APKBUILD @@ -1,22 +1,26 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libxcursor pkgver=1.1.10 -pkgrel=0 +pkgrel=1 pkgdesc="X cursor management library" url="http://xorg.freedesktop.org/" license="custom" subpackages="$pkgname-dev $pkgname-doc" -depends="libxfixes libxrender libx11 uclibc" +depends= makedepends="pkgconfig libxfixes-dev libx11-dev libxrender-dev" -source="http://xorg.freedesktop.org//releases/individual/lib/libXcursor-$pkgver.tar.bz2" +source="http://xorg.freedesktop.org/releases/individual/lib/libXcursor-$pkgver.tar.bz2" -build () -{ +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 } md5sums="7dcdad1c10daea872cb3355af414b2ca libXcursor-1.1.10.tar.bz2" |