blob: 29b521198d1adc1cba2132a0ebcbc72dcd855ee9 (
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
33
34
35
36
|
# $Id$
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=iso-codes
pkgver=3.76
pkgrel=1
pkgdesc="Lists of the country, language, and currency names"
arch=('any')
url="https://pkg-isocodes.alioth.debian.org/"
license=('LGPL')
makedepends=('python' git)
_commit=466dd437f40ec20d328dc5bf9ac57b64c4f954ab # tags/iso-codes-3.76
source=("git+https://anonscm.debian.org/git/pkg-isocodes/iso-codes.git#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
cd $pkgname
git describe --tags | sed 's/^iso-codes-//;s/-/+/g'
}
prepare() {
cd $pkgname
autoreconf -fi
}
build() {
cd "$srcdir/$pkgname"
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/$pkgname"
make DESTDIR="$pkgdir" pkgconfigdir=/usr/lib/pkgconfig install
}
|