summaryrefslogtreecommitdiff
path: root/user/giblib/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/giblib/APKBUILD')
-rw-r--r--user/giblib/APKBUILD9
1 files changed, 3 insertions, 6 deletions
diff --git a/user/giblib/APKBUILD b/user/giblib/APKBUILD
index 22f125ef3..85f255925 100644
--- a/user/giblib/APKBUILD
+++ b/user/giblib/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer:
pkgname=giblib
pkgver=1.2.4
-pkgrel=10
+pkgrel=11
pkgdesc="Graphics library built atop Imlib2"
url="http://linuxbrit.co.uk/details.html"
arch="all"
@@ -10,16 +10,15 @@ subpackages="$pkgname-doc $pkgname-dev"
depends=""
depends_dev="freetype-dev imlib2-dev libx11-dev libxext-dev zlib-dev"
makedepends="$depends_dev"
+subpackages="$pkgname-doc"
source="http://distfiles.gentoo.org/distfiles/$pkgname-$pkgver.tar.gz"
prepare() {
- cd "$builddir"
- update_config_sub
default_prepare
+ update_config_sub
}
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -28,12 +27,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" docsdir=/usr/share/doc/giblib install
install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
}