[arch-commits] Commit in iso-codes/repos/extra-any (PKGBUILD PKGBUILD)

Jan de Groot jgc at archlinux.org
Sun Feb 5 20:52:21 UTC 2017


    Date: Sunday, February 5, 2017 @ 20:52:21
  Author: jgc
Revision: 288107

archrelease: copy trunk to extra-any

Added:
  iso-codes/repos/extra-any/PKGBUILD
    (from rev 288106, iso-codes/trunk/PKGBUILD)
Deleted:
  iso-codes/repos/extra-any/PKGBUILD

----------+
 PKGBUILD |   64 ++++++++++++++++++++++++++++++++++---------------------------
 1 file changed, 36 insertions(+), 28 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-02-05 20:52:17 UTC (rev 288106)
+++ PKGBUILD	2017-02-05 20:52:21 UTC (rev 288107)
@@ -1,28 +0,0 @@
-# $Id$
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-
-pkgname=iso-codes
-pkgver=3.70
-pkgrel=1
-pkgdesc="Lists of the country, language, and currency names"
-arch=('any')
-url="http://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
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-  ./configure --prefix=/usr
-  make
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver"
-  make DESTDIR="$pkgdir" pkgconfigdir=/usr/lib/pkgconfig install
-}
-

Copied: iso-codes/repos/extra-any/PKGBUILD (from rev 288106, iso-codes/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-02-05 20:52:21 UTC (rev 288107)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=iso-codes
+pkgver=3.74
+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=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"
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname"
+  make DESTDIR="$pkgdir" pkgconfigdir=/usr/lib/pkgconfig install
+}
+



More information about the arch-commits mailing list