aboutsummaryrefslogtreecommitdiffstats
path: root/main/iso-codes/APKBUILD
blob: 5a3bf2c2cfd6436713cc27162506bcb4dcab863b (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.63
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="129f822fd64c9bf80931cccc269ccb95  iso-codes-3.63.tar.xz"
sha256sums="60600e56952dc92b3a8cd8a7044348f7cfa35be528bab2491c3c18582fb5277f  iso-codes-3.63.tar.xz"
sha512sums="31b5142611e2050a9bfb95cd12d962b8cbe01824f1202e70ca40d9cd178a5fd17557eac3fcc59dd0b94baf2656caeef09c50332cd2a8d0e1bb14c82c154e06ae  iso-codes-3.63.tar.xz"