aboutsummaryrefslogtreecommitdiffstats
path: root/community/liblangtag/APKBUILD
blob: 48e8cd3ca59e43c868c55b9ac5f342e483f15bd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=liblangtag
pkgver=0.6.2
pkgrel=0
pkgdesc="Interface library to access/deal with tags for identifying languages"
url="http://tagoh.bitbucket.org/liblangtag/index.html"
arch="all"
license="LGPL3"
depends=""
depends_dev="glib-dev"
makedepends="$depends_dev gobject-introspection libtool libxml2-dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="https://bitbucket.org/tagoh/$pkgname/downloads/$pkgname-$pkgver.tar.bz2"

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

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

md5sums="284f120247323a35122ab32b4b359c45  liblangtag-0.6.2.tar.bz2"
sha256sums="d6242790324f1432fb0a6fae71b6851f520b2c5a87675497cf8ea14c2924d52e  liblangtag-0.6.2.tar.bz2"
sha512sums="812e00d0a26eedc1fa9bee6d0b9da53b8faca8d1fc5f93a0423106b5b777c7b1ec5854da7d02606c215ad1a1248de93016559c7a55288a4b427857fb1ed1ad8f  liblangtag-0.6.2.tar.bz2"