# Maintainer: Natanael Copa pkgname=iso-codes pkgver=4.2 pkgrel=0 pkgdesc="ISO codes and their translations" url="https://salsa.debian.org/iso-codes-team/iso-codes" arch="noarch" license="LGPL-2.1-or-later" depends="" subpackages="$pkgname-lang $pkgname-dev" makedepends="python3 gettext" source="http://http.debian.net/debian/pool/main/i/$pkgname/${pkgname}_${pkgver}.orig.tar.xz" builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" ./configure \ --host=$CHOST \ --build=$CBUILD \ --prefix=/usr make } check() { make -C "$builddir" check } package() { cd "$builddir" make DESTDIR="$pkgdir" pkgconfigdir=/usr/lib/pkgconfig install } sha512sums="e4ede88f0be82fa5cd097530671654a59b6b2c705f8f0f6d7395ab5ac13526324a4679a2f60996d67294f853f02c46d318ceee4d5f9bbb84044f800656cebddc iso-codes_4.2.orig.tar.xz"