aboutsummaryrefslogtreecommitdiffstats
path: root/community/giblib/APKBUILD
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-02-24 21:16:09 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-02-24 23:32:56 -0300
commitc91cd916f80da7975866728492f2d600a0a2f39e (patch)
tree1c8a648151577c68396b94410c8bd3a6529d7048 /community/giblib/APKBUILD
parentac3c83146d1a5f759352038139a40416a5872a9f (diff)
downloadaports-c91cd916f80da7975866728492f2d600a0a2f39e.tar.gz
aports-c91cd916f80da7975866728492f2d600a0a2f39e.tar.bz2
aports-c91cd916f80da7975866728492f2d600a0a2f39e.tar.xz
community/giblib: move from main
Diffstat (limited to 'community/giblib/APKBUILD')
-rw-r--r--community/giblib/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/community/giblib/APKBUILD b/community/giblib/APKBUILD
new file mode 100644
index 0000000000..ea385a1483
--- /dev/null
+++ b/community/giblib/APKBUILD
@@ -0,0 +1,41 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=giblib
+pkgver=1.2.4
+pkgrel=12
+pkgdesc="Giblib is a library that feh uses as a wrapper to imlib2"
+url="http://freshmeat.sourceforge.net/projects/giblib/"
+arch="all"
+license="MIT"
+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 \
+ --prefix=/usr \
+ --disable-static
+ make
+}
+
+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
+}
+sha512sums="4866df223e6d219a5c9a327874bcd67260c83fba8f99862222df41ef86fb31efa0172a777bf46c853ca380dc2a64bbd41bf4fd658fcb84a924cab4e0f525dcfd giblib-1.2.4.tar.gz"