diff options
author | Max Rees <maxcrees@me.com> | 2018-08-09 21:05:46 -0400 |
---|---|---|
committer | Max Rees <maxcrees@me.com> | 2018-08-09 21:05:46 -0400 |
commit | 581215287be4b8f7a82e7168322bec13373e2903 (patch) | |
tree | 2e1e84ad05c0f31848c260f5be024675cf4d5e53 /user | |
parent | 3c40afdeadedb41062542f0ccd64470e5c8e5dd5 (diff) | |
download | packages-581215287be4b8f7a82e7168322bec13373e2903.tar.gz packages-581215287be4b8f7a82e7168322bec13373e2903.tar.bz2 packages-581215287be4b8f7a82e7168322bec13373e2903.tar.xz packages-581215287be4b8f7a82e7168322bec13373e2903.zip |
user/liblangtag: pull in, modernize, add check
Diffstat (limited to 'user')
-rw-r--r-- | user/liblangtag/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/user/liblangtag/APKBUILD b/user/liblangtag/APKBUILD new file mode 100644 index 000000000..f46f49f9b --- /dev/null +++ b/user/liblangtag/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Max Rees <maxcrees@me.com> +pkgname=liblangtag +pkgver=0.6.2 +pkgrel=0 +pkgdesc="Interface library to access tags for identifying languages" +url="https://bitbucket.org/tagoh/liblangtag" +arch="all" +license="LGPL-3.0+ OR MPL-2.0" +depends="" +makedepends="glib-dev gobject-introspection-dev libtool libxml2-dev" +checkdepends="check-dev" +subpackages="$pkgname-dev $pkgname-doc" +source="https://bitbucket.org/tagoh/$pkgname/downloads/$pkgname-$pkgver.tar.bz2" + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="812e00d0a26eedc1fa9bee6d0b9da53b8faca8d1fc5f93a0423106b5b777c7b1ec5854da7d02606c215ad1a1248de93016559c7a55288a4b427857fb1ed1ad8f liblangtag-0.6.2.tar.bz2" |