aboutsummaryrefslogtreecommitdiffstats
path: root/main/iso-codes/APKBUILD
blob: abee4ef9d3f3d20823f6dd5c714a636e1ba47f5e (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=iso-codes
pkgver=3.43
pkgrel=0
pkgdesc="Lists of the country, language, and currency names"
url="http://pkg-isocodes.alioth.debian.org/"
arch="noarch"
license="LGPL"
depends=""
subpackages="$pkgname-lang"
makedepends="python gettext"
source="http://pkg-isocodes.alioth.debian.org/downloads/$pkgname-$pkgver.tar.xz"


build() {
	cd "$srcdir"/$pkgname-$pkgver
	./configure --prefix=/usr || return 1
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" pkgconfigdir=/usr/lib/pkgconfig install || return 1
}
md5sums="44b27ce9d1aca2326ba8b51827c4b725  iso-codes-3.43.tar.xz"
sha256sums="87aefbfbefda575fd746fe5b8927fd697ca5ba1f2a28cfee8d031f10cd33edb4  iso-codes-3.43.tar.xz"
sha512sums="a14b057bba74c7c90b1802554e253d1f3153c13e3187d36b3b93a3d8bf2e9f3ba70a23c65028e236dae8d7de5c9e12eac17179f7de4297d558ed5ea25c736a5b  iso-codes-3.43.tar.xz"