# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=iso-codes
pkgver=4.2
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="1ee8505d2fb6da03d82ebe665ad963e6652ac0337a1cde16a0d6f4c04003f52330735dd7ab20131999e8c562eca09ac18edf8c4aadd7cb8bcfbe0f350a8b6987  iso-codes-4.2.tar.xz"