# $Id: PKGBUILD 228703 2015-01-06 07:41:02Z fyan $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=iso-codes
pkgver=3.57
pkgrel=1
pkgdesc="Lists of the country, language, and currency names"
arch=('any')
url="http://pkg-isocodes.alioth.debian.org/"
license=('LGPL')
source=(http://pkg-isocodes.alioth.debian.org/downloads/$pkgname-$pkgver.tar.xz{,.sig})
md5sums=('ea67bb8f94063816d96c972bd00f7720'
         'SKIP')
validpgpkeys=('60A031EEAB8EFA24001DF0A283FD1C4682D138E0')  # Tobias Quathamer

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" pkgconfigdir=/usr/lib/pkgconfig install
}

