summaryrefslogblamecommitdiff
path: root/user/liblangtag/APKBUILD
blob: f46f49f9bd52ef62d4370f80e34cb1a38fbb279e (plain) (tree)






































                                                                                                                                                                       
# 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"