# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=liblangtag
pkgver=0.6.3
pkgrel=0
pkgdesc="Interface library to access/deal with tags for identifying languages"
url="http://tagoh.bitbucket.org/liblangtag/index.html"
arch="all"
license="LGPL-3.0"
depends_dev="glib-dev"
makedepends="$depends_dev gobject-introspection libtool libxml2-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://bitbucket.org/tagoh/liblangtag/downloads/liblangtag-$pkgver.tar.bz2"

build() {
	./configure --prefix=/usr
	make
}

check() {
	make -k check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="3dcfc20704dfaff05aeecdeef74fa81639fb70f930ebc0895fe4707ecd1d5b6221fe889449772811924d0c38329977c9d5fc751c3accbc272834b29c461f1fcf  liblangtag-0.6.3.tar.bz2"
