diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-23 21:40:02 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-23 21:40:02 -0500 |
commit | 530a5e669bece676d602d70f1e80c13c58984dba (patch) | |
tree | 8268e81f32908f7dc672b1acbe60a3559def5486 /user/giblib/APKBUILD | |
parent | a7a5654911974b4d40484b078e40f2d89f8ff122 (diff) | |
download | packages-530a5e669bece676d602d70f1e80c13c58984dba.tar.gz packages-530a5e669bece676d602d70f1e80c13c58984dba.tar.bz2 packages-530a5e669bece676d602d70f1e80c13c58984dba.tar.xz packages-530a5e669bece676d602d70f1e80c13c58984dba.zip |
user/giblib: modernise, fix all the metadata
Diffstat (limited to 'user/giblib/APKBUILD')
-rw-r--r-- | user/giblib/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/user/giblib/APKBUILD b/user/giblib/APKBUILD new file mode 100644 index 000000000..dcc509921 --- /dev/null +++ b/user/giblib/APKBUILD @@ -0,0 +1,40 @@ +# Maintainer: +pkgname=giblib +pkgver=1.2.4 +pkgrel=10 +pkgdesc="Graphics library built atop Imlib2" +url="http://linuxbrit.co.uk/details.html" +arch="all" +license="MIT-feh" +subpackages="$pkgname-doc $pkgname-dev" +depends="" +depends_dev="freetype-dev imlib2-dev libx11-dev libxext-dev zlib-dev" +makedepends="$depends_dev" +source="https://distfiles.gentoo.org/distfiles/$pkgname-$pkgver.tar.gz" + +prepare() { + cd "$builddir" + update_config_sub + default_prepare +} + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr + 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" |