summaryrefslogtreecommitdiff
path: root/user/iso-codes/APKBUILD
blob: 51f3e4f3edf898e98f050ad2b2473cb6dbf9ac9b (plain) (blame)
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
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=iso-codes
pkgver=4.3
pkgrel=0
pkgdesc="Lists of country, language, and currency names"
url=" "
arch="noarch"
license="LGPL-2.1+"
depends=""
makedepends="python3"
subpackages="$pkgname-lang $pkgname-dev"
source="http://anduin.linuxfromscratch.org/BLFS/$pkgname/$pkgname-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" pkgconfigdir=/usr/lib/pkgconfig install
}

sha512sums="5217b8d9d7a0db3ee5f89831f9fb4938e79a7c33a73fcde9e057eb825a08973d6115aa7a709552cb9ef29c4ad094bb7a1e848cbb6f8fb01efb15d4205c235dc0  iso-codes-4.3.tar.xz"