# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=iso-codes
pkgver=4.1
pkgrel=0
pkgdesc="Lists of country, language, and currency names"
url=" "
arch="noarch"
license="LGPL-2.1+"
depends=""
makedepends="python3"
subpackages="$pkgname-lang $pkgname-dev"
source="http://anduin.linuxfromscratch.org/BLFS/$pkgname/$pkgname-$pkgver.tar.xz"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" pkgconfigdir=/usr/lib/pkgconfig install
}

sha512sums="cf02be0cfc43a1fb28334ccae552cac9a7dee70ca3969b6263eca4bd7fee8ddcc437bd23d290643ba2cd7e99b207661d7330daaf452dc59cde36fdd5919b5616  iso-codes-4.1.tar.xz"