aboutsummaryrefslogtreecommitdiffstats
path: root/main/iso-codes/APKBUILD
blob: 6436fac942d799670ff1916f666bb366d2da31b3 (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.66
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 $pkgname-dev"
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="ee236a71bcd3181aa654ac744ad6b989  iso-codes-3.66.tar.xz"
sha256sums="6c1fa9535382223b9e938fb1c6052fac9a837c99a5772e7636cf8e2f5d2169f5  iso-codes-3.66.tar.xz"
sha512sums="edfde414eea641701c3a95180e7ab97f7d5f021bde3336b9c0274dbc11493c01966c2dd4e845dfe92c10c72a326cd5f66b5fc61bde2702ba75d5b30f1795d7dc  iso-codes-3.66.tar.xz"