summaryrefslogtreecommitdiffstats
path: root/main/iso-codes/APKBUILD
blob: 0b1adfcacb54811b2cbad6cf18c0e7f603cef7d6 (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.49
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"
makedepends="python 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="a0708a81f42c538f4670e3bf3d343dd8  iso-codes-3.49.tar.xz"
sha256sums="04e0f4a930496bf5bb83a391956692de10105919cb7a9c57eefddc63482cd3e7  iso-codes-3.49.tar.xz"
sha512sums="f611dda1abbd9c97bf7c2d51c8ae4737dd98a6825f985fa23c840079641d12c66c144203fa6436cae20136638f8eba80b86a406059ce0dab2d0187f44849b593  iso-codes-3.49.tar.xz"