blob: 95582944b0a6a8ba1a4a504d6aa42658a74b25bf (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=iso-codes
pkgver=3.44
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://pkg-isocodes.alioth.debian.org/downloads/$pkgname-$pkgver.tar.xz"
build() {
cd "$srcdir"/$pkgname-$pkgver
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
|| return 1
make || return 1
}
package() {
cd "$srcdir"/$pkgname-$pkgver
make DESTDIR="$pkgdir" pkgconfigdir=/usr/lib/pkgconfig install || return 1
}
md5sums="be772ec57321b92e62d962def26ce2aa iso-codes-3.44.tar.xz"
sha256sums="a835fee11cbc1fcf2518a070d2d18a40dc2101b6c85a844eb31e46a334e7c202 iso-codes-3.44.tar.xz"
sha512sums="9c7a76efe12f95c1e4f66a4c38665c351f828e30306cafccc6a2a8b870f2c7677302d35ad3ff308698788c38b0180febe0d4cd89725aab4cb0b7bdbdcb83501e iso-codes-3.44.tar.xz"
|