[arch-commits] Commit in iso-codes/trunk (PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Fri Nov 5 08:25:54 UTC 2021
Date: Friday, November 5, 2021 @ 08:25:53
Author: arojas
Revision: 427376
Update to 4.8.0
Modified:
iso-codes/trunk/PKGBUILD
----------+
PKGBUILD | 27 ++++++++-------------------
1 file changed, 8 insertions(+), 19 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-05 07:51:19 UTC (rev 427375)
+++ PKGBUILD 2021-11-05 08:25:53 UTC (rev 427376)
@@ -1,35 +1,24 @@
-# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Maintainer:
+# Contributor: Jan de Groot <jgc at archlinux.org>
pkgname=iso-codes
-pkgver=4.7.0
+pkgver=4.8.0
pkgrel=1
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=59767ed869f3952575f7d0f639a290a4c4b315e5
-source=("git+https://salsa.debian.org/iso-codes-team/iso-codes/#commit=$_commit")
-sha256sums=('SKIP')
+makedepends=(python)
+source=(https://salsa.debian.org/iso-codes-team/iso-codes/-/archive/v$pkgver/iso-codes-v$pkgver.tar.gz)
+sha256sums=('ea286830562cbc29d7818e94a63031b50e88b3679aba444b5010a1353cec6fa5')
-pkgver() {
- cd $pkgname
- git describe --tags | sed 's/^iso-codes-//;s/-/+/g'
-}
-
-prepare() {
- cd $pkgname
- autoreconf -fi
-}
-
build() {
- cd $pkgname
+ cd $pkgname-v$pkgver
./configure --prefix=/usr
make
}
package() {
- cd $pkgname
+ cd $pkgname-v$pkgver
make DESTDIR="$pkgdir" pkgconfigdir=/usr/lib/pkgconfig install
}
-
More information about the arch-commits
mailing list