30 lines
783 B
Bash
30 lines
783 B
Bash
# Maintainer: Jesus E. <heckyel@riseup.net>
|
|
|
|
pkgname=iso-codes
|
|
pkgver=4.5.0
|
|
pkgrel=1
|
|
pkgdesc="Lists of the country, language, and currency names"
|
|
arch=(any)
|
|
url="https://salsa.debian.org/iso-codes-team/iso-codes"
|
|
license=(LGPL-2.1)
|
|
makedepends=(python)
|
|
source=(https://deb.debian.org/debian/pool/main/i/iso-codes/iso-codes_$pkgver.orig.tar.xz)
|
|
sha512sums=('2785d57c2ae2a2d494dd361613965f7e5004b87bb6da7d020914981c4cb0de275050e8e424e3cb467f1e56889cb0dd8d9b5f9456295b4382ed3e73ce3620891d')
|
|
|
|
prepare() {
|
|
cd $pkgname-$pkgver
|
|
autoreconf -fi
|
|
}
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
make DESTDIR="$pkgdir" pkgconfigdir=/usr/lib/pkgconfig install
|
|
install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
|
|
}
|