blob: c4eb68b5072e3c356db252869ce3ecafbe34e2ac (
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.56
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="d032b2f9750bd59d350e0ccb060c8710 iso-codes-3.56.tar.xz"
sha256sums="55d0e6e582ec9331c706d3aae14819170acf4121160d914f0ce2c901daf3ce6e iso-codes-3.56.tar.xz"
sha512sums="8b81bfb32d22b012128e1491e0260d460bed85f3a7634394cb75021c4e8acc8f63d1bd195b5177e659080c2ea34078c4a736969f5ef5ca2cf17e80575377d232 iso-codes-3.56.tar.xz"
|