summaryrefslogtreecommitdiff
path: root/user/iso-codes/APKBUILD
blob: 64ceee132595625b1ba4d93b3710dcb3c1da3c6c (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
31
32
33
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=iso-codes
pkgver=3.79
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() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

check() {
	cd "$builddir"
	make check
}

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

sha512sums="286d4f328142cdc7ace409d2aaa811e3732df49d78b1875ce71f76f1bb683ce0c4d3f9d2bba752bf6cd25ee8f4c53bdc84568e2eaf85f49650452df19800b345  iso-codes-3.79.tar.xz"