aboutsummaryrefslogtreecommitdiffstats
path: root/main/iso-codes/APKBUILD
blob: ff7439ce21cef3d0fc867366c6a5b9eab61e90c7 (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.29
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://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="c8c0c18d76cf204ad0da1e61229ea4c7  iso-codes_3.29.orig.tar.bz2"