[arch-commits] Commit in dsp/trunk (PKGBUILD)

Thore Bödecker foxxx0 at gemini.archlinux.org
Sun Jul 3 09:32:28 UTC 2022


    Date: Sunday, July 3, 2022 @ 09:32:28
  Author: foxxx0
Revision: 1243742

upgpkg: dsp 1.8.r5.gf3ac94b-2: fix pkgver() to strip leading 'v'

Modified:
  dsp/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-03 09:19:10 UTC (rev 1243741)
+++ PKGBUILD	2022-07-03 09:32:28 UTC (rev 1243742)
@@ -5,8 +5,8 @@
 
 pkgname=dsp
 _commit='f3ac94b546361260349edeea5f1ee0ce7fac322a'
-pkgver=v1.8.r5.gf3ac94b
-pkgrel=1
+pkgver=1.8.r5.gf3ac94b
+pkgrel=2
 pkgdesc="An audio processing program with an interactive mode"
 arch=('x86_64')
 url="https://github.com/bmc0/${pkgname}"
@@ -27,12 +27,12 @@
 optdepends=(
   'ladspa-host: For the LADSPA plugin.'
 )
-source=("git+https://github.com/bmc0/${pkgname}.git#commit=${_commit}")
+source=("${pkgname}::git+https://github.com/bmc0/${pkgname}.git#commit=${_commit}")
 sha256sums=('SKIP')
 
 pkgver() {
   cd "${pkgname}"
-  git describe --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+  git describe --tags | sed 's/^v//g;s/\([^-]*-g\)/r\1/;s/-/./g'
 }
 
 build() {



More information about the arch-commits mailing list