David Runge pushed to branch main at Arch Linux / Packaging / Packages / archiso


Commits:
8a389594 by David Runge at 2023-12-22T12:05:53+01:00
upgpkg: 74-1

Add pkgver() function.

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
 pkgbase = archiso
        pkgdesc = Tools for creating Arch Linux live and install iso images
-       pkgver = 73
+       pkgver = 74
        pkgrel = 1
        url = https://gitlab.archlinux.org/archlinux/archiso
        arch = any
@@ -21,7 +21,7 @@ pkgbase = archiso
        optdepends = gnupg: for PGP signature verification of rootfs over PXE
        optdepends = openssl: for CMS signature verification of PXE artifacts 
and rootfs over PXE
        optdepends = qemu-desktop: for run_archiso
-       source = 
git+https://gitlab.archlinux.org/archlinux/archiso.git#tag=a91915a1ec2a0372096a26aff3850de6f9f951ad?signed
+       source = 
git+https://gitlab.archlinux.org/archlinux/archiso.git#tag=d1cce5cb056429b1d225f61ceef9f5b9529fbb66?signed
        validpgpkeys = 991F6E3F0765CF6295888586139B09DA5BF0D338
        validpgpkeys = BB8E6F1B81CF0BB301D74D1CBF425A01E68B38EF
        sha256sums = SKIP


=====================================
PKGBUILD
=====================================
@@ -3,8 +3,8 @@
 # Contributor: Gerardo Exequiel Pozzi <[email protected]>
 
 pkgname=archiso
-pkgver=73
-_commit=a91915a1ec2a0372096a26aff3850de6f9f951ad  # refs/tags/v73
+pkgver=74
+_commit=d1cce5cb056429b1d225f61ceef9f5b9529fbb66  # refs/tags/v74
 pkgrel=1
 pkgdesc="Tools for creating Arch Linux live and install iso images"
 arch=(any)
@@ -37,6 +37,11 @@ validpgpkeys=(
   'BB8E6F1B81CF0BB301D74D1CBF425A01E68B38EF' # nl6720 <[email protected]>
 )
 
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/v//g'
+}
+
 check() {
   make -k check -C $pkgbase
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/archiso/-/commit/8a389594ca8951fb15fa128207fc08199324df4d

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/archiso/-/commit/8a389594ca8951fb15fa128207fc08199324df4d
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to