summaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-01-22 21:37:12 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-01-22 21:37:12 +0000
commit1026beb8146771f4007b39e578bfa26a3490761b (patch)
tree8fcbedd461017b1f7116400544ec87d1ce0ec830 /x11
parent850ab64bf1744ce7fae2970df9ef1bce9a5dcba0 (diff)
downloadaports-1026beb8146771f4007b39e578bfa26a3490761b.tar.bz2
aports-1026beb8146771f4007b39e578bfa26a3490761b.tar.xz
x11/libxcursor: fix -dev packages depends
Diffstat (limited to 'x11')
-rw-r--r--x11/libxcursor/APKBUILD14
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"