aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-02-24 21:16:26 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-02-24 23:32:56 -0300
commit715c2b6f8d131eb1974e01d1603874e35643637f (patch)
tree7f6a04b556da79f0af6670bbf7966236e886dbcf
parentc91cd916f80da7975866728492f2d600a0a2f39e (diff)
downloadaports-715c2b6f8d131eb1974e01d1603874e35643637f.tar.gz
aports-715c2b6f8d131eb1974e01d1603874e35643637f.tar.bz2
aports-715c2b6f8d131eb1974e01d1603874e35643637f.tar.xz
community/giblib: modernize
-rw-r--r--community/giblib/APKBUILD9
1 files changed, 2 insertions, 7 deletions
diff --git a/community/giblib/APKBUILD b/community/giblib/APKBUILD
index ea385a1483..bad450e4b8 100644
--- a/community/giblib/APKBUILD
+++ b/community/giblib/APKBUILD
@@ -6,20 +6,17 @@ pkgdesc="Giblib is a library that feh uses as a wrapper to imlib2"
url="http://freshmeat.sourceforge.net/projects/giblib/"
arch="all"
license="MIT"
+depends_dev="imlib2-dev freetype-dev zlib-dev libx11-dev libxext-dev"
+makedepends="$depends_dev"
subpackages="$pkgname-doc $pkgname-dev"
-makedepends="imlib2-dev libxext-dev libx11-dev freetype-dev zlib-dev"
source="http://kent.dl.sourceforge.net/project/slackbuildsdirectlinks/giblib/giblib-$pkgver.tar.gz"
-depends_dev="imlib2-dev freetype-dev zlib-dev libx11-dev libxext-dev"
-
prepare() {
- cd "$builddir"
update_config_sub
default_prepare
}
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -29,12 +26,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
}