From c91c8e6679693cf70240429bc1ccf8a5a2c95fea Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 20 Jan 2010 20:51:57 +0000 Subject: x11/giblib: fix depends for -dev package --- x11/giblib/APKBUILD | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'x11') diff --git a/x11/giblib/APKBUILD b/x11/giblib/APKBUILD index e8428bae07..e7242d8695 100644 --- a/x11/giblib/APKBUILD +++ b/x11/giblib/APKBUILD @@ -1,20 +1,24 @@ # Maintainer: Natanael Copa pkgname=giblib pkgver=1.2.4 -pkgrel=0 +pkgrel=1 pkgdesc="Giblib is a library that feh uses as a wrapper to imlib2" url="http://linuxbrit.co.uk/giblib/" license="MIT" subpackages="$pkgname-doc $pkgname-dev" -depends="imlib2 libxext libx11 freetype uclibc" -makedepends="imlib2-dev libxext-dev libx11-dev freetype-dev g++" +depends= +makedepends="imlib2-dev libxext-dev libx11-dev freetype-dev" source="http://linuxbrit.co.uk/downloads/$pkgname-$pkgver.tar.gz" -build () -{ +depends_dev="imlib2-dev freetype-dev zlib-dev libx11-dev libxext-dev" +build() { cd "$srcdir"/$pkgname-$pkgver ./configure --prefix=/usr || return 1 make || return 1 +} + +package() { + cd "$srcdir"/$pkgname-$pkgver make DESTDIR="$pkgdir" docsdir=/usr/share/doc/giblib install || return 1 install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING } -- cgit v1.2.3