# Maintainer: AndyRTR <andyrtr@archlinux.org>

pkgname=liblangtag
pkgver=0.6.2
pkgrel=2
pkgdesc="interface library to access/deal with tags for identifying languages"
arch=('x86_64')
url="http://tagoh.bitbucket.org/liblangtag/index.html"
license=('LGPL3' 'MPL') # actually MPL2.0
depends=('libxml2' 'glib2')
makedepends=('gobject-introspection')
optdepends=('gobject-introspection-runtime: use with liblangtag-gobject')
source=(https://bitbucket.org/tagoh/liblangtag/downloads/$pkgname-$pkgver.tar.bz2)
md5sums=('284f120247323a35122ab32b4b359c45')


build() {
	cd "$pkgname-$pkgver"
	./configure --prefix=/usr
	make
}

check() {
	cd "$pkgname-$pkgver"
	make -k check
}

package() {
	cd "$pkgname-$pkgver"
	make DESTDIR="$pkgdir/" install
}
