aboutsummaryrefslogtreecommitdiffstats
path: root/main/iso-codes/APKBUILD
blob: 1dd109272fcfc57e7c8fd68911c38a49dc125517 (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=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"