aboutsummaryrefslogtreecommitdiffstats
path: root/main/iso-codes/APKBUILD
blob: 169caf2ada9d023aa1ab9e62149a35c9adca7312 (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.79
pkgrel=0
pkgdesc="ISO codes and their translations"
url="http://pkg-isocodes.alioth.debian.org"
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="286d4f328142cdc7ace409d2aaa811e3732df49d78b1875ce71f76f1bb683ce0c4d3f9d2bba752bf6cd25ee8f4c53bdc84568e2eaf85f49650452df19800b345  iso-codes_3.79.orig.tar.xz"