aboutsummaryrefslogtreecommitdiffstats
path: root/main/iso-codes/APKBUILD
blob: 33f7fd11f23b8a9e9108b839773ecda7f1e1e3b4 (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.67
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="8dbf901d2c90afd508ffbd99aed2c456  iso-codes-3.67.tar.xz"
sha256sums="603f51e0b5ebd762b66d9aa3bd0d9a33af1aaedae88caaaf196fcc5bb4abf00c  iso-codes-3.67.tar.xz"
sha512sums="830f7e30636081f029447837e11e258905af12c88a01882d58c05b9b7756dbca4b4b3e3fc2b12a3d8e58b976fd79908264979aa4e6a37b35c3341e9d8e5c2ed0  iso-codes-3.67.tar.xz"