[arch-commits] Commit in iso-codes/trunk (PKGBUILD)
Jan de Groot
jgc at archlinux.org
Sun Feb 5 20:52:17 UTC 2017
Date: Sunday, February 5, 2017 @ 20:52:17
Author: jgc
Revision: 288106
upgpkg: iso-codes 3.74-1
Modified:
iso-codes/trunk/PKGBUILD
----------+
PKGBUILD | 28 ++++++++++++++++++----------
1 file changed, 18 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-02-05 20:49:44 UTC (rev 288105)
+++ PKGBUILD 2017-02-05 20:52:17 UTC (rev 288106)
@@ -2,27 +2,35 @@
# Maintainer: Jan de Groot <jgc at archlinux.org>
pkgname=iso-codes
-pkgver=3.70
+pkgver=3.74
pkgrel=1
pkgdesc="Lists of the country, language, and currency names"
arch=('any')
-url="http://pkg-isocodes.alioth.debian.org/"
+url="https://pkg-isocodes.alioth.debian.org/"
license=('LGPL')
-makedepends=('python')
-source=(http://pkg-isocodes.alioth.debian.org/downloads/$pkgname-$pkgver.tar.xz{,.sig})
-md5sums=('c61f8f02eecf978d3710ff594e43ca7e'
- 'SKIP')
-validpgpkeys=('60A031EEAB8EFA24001DF0A283FD1C4682D138E0'
- 'D1CB8F39BC5DED24C5D2C78C1302F1F036EBEB19') # Tobias Quathamer
+makedepends=('python' git)
+_commit=df0820baa5f236da2520995153fabb557da55f8e # tags/iso-codes-3.74
+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-$pkgver"
+ cd "$srcdir/$pkgname"
./configure --prefix=/usr
make
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir/$pkgname"
make DESTDIR="$pkgdir" pkgconfigdir=/usr/lib/pkgconfig install
}
More information about the arch-commits
mailing list