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

Felix Yan felixonmars at archlinux.org
Sat May 16 11:46:00 UTC 2020


    Date: Saturday, May 16, 2020 @ 11:45:59
  Author: felixonmars
Revision: 384348

archrelease: copy trunk to staging-any

Added:
  iso-codes/repos/staging-any/
  iso-codes/repos/staging-any/PKGBUILD
    (from rev 384347, iso-codes/trunk/PKGBUILD)

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Copied: iso-codes/repos/staging-any/PKGBUILD (from rev 384347, iso-codes/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2020-05-16 11:45:59 UTC (rev 384348)
@@ -0,0 +1,35 @@
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=iso-codes
+pkgver=4.4
+pkgrel=2
+pkgdesc="Lists of the country, language, and currency names"
+arch=('any')
+url="https://salsa.debian.org/iso-codes-team/iso-codes"
+license=('LGPL')
+makedepends=('python' git)
+_commit=38edb926592954b87eb527124da0ec68d2a748f3  # tags/iso-codes-4.4^0
+source=("git+https://salsa.debian.org/iso-codes-team/iso-codes/#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