aboutsummaryrefslogtreecommitdiffstats
path: root/main/iso-codes/APKBUILD
blob: e1f21d11fedbe082d1a3ffdf72d381405b16b52d (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=iso-codes
pkgver=3.69
pkgrel=0
pkgdesc="Lists of the country, language, and currency names"
url="http://pkg-isocodes.alioth.debian.org/"
arch="noarch"
license="LGPL2+"
depends=""
subpackages="$pkgname-lang $pkgname-dev"
makedepends="python3 gettext"
source="http://pkg-isocodes.alioth.debian.org/downloads/$pkgname-$pkgver.tar.xz"

_builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" pkgconfigdir=/usr/lib/pkgconfig install || return 1
}

md5sums="33ed5ea7eed84a7609f041c838fc96d7  iso-codes-3.69.tar.xz"
sha256sums="3f285d3c13f4dccfbdb9e432f172403ac1a54ab432616f10556eb18c23a1c0b2  iso-codes-3.69.tar.xz"
sha512sums="38cd0db8cabec7df99fd51dde6a76500dc224106c7c05f6d4d9e97681a0f0413dfb86a3c13d11a0b3afb3910062d4e136a0e3b0ce2cad7a11cdb639415c54f86  iso-codes-3.69.tar.xz"