aboutsummaryrefslogtreecommitdiffstats
path: root/main/iso-codes/APKBUILD
blob: 3bb9116b41079b3498c19ffe4ed84c4dafdc1f53 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=iso-codes
pkgver=3.27
pkgrel=1
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://ftp.nl.debian.org/debian/pool/main/${pkgname:0:1}/$pkgname/${pkgname}_$pkgver.orig.tar.bz2"

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="297c36b7512990de84307f5b1f90fdea  iso-codes_3.27.orig.tar.bz2"