aboutsummaryrefslogtreecommitdiffstats
path: root/main/iso-codes/APKBUILD
blob: 79120d52caf051e8ae0a236523c2dca20750740a (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.52
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="0f3f6ce16b3cf4b92538b8255e0dfa92  iso-codes-3.52.tar.xz"
sha256sums="3ba065910550bf11b2926cf200e8e5ca1d29b5364d7e3e4b5320b4ab5fee974a  iso-codes-3.52.tar.xz"
sha512sums="155297e2b900ea40590939b034524b95ea5a4288cb768996cc5503a452abf02eb92408445405673afc4322e4966c95941a294bc437c9c203bc6c78b30fab3a17  iso-codes-3.52.tar.xz"