Package Details: sysprof-dev 3.35.92-1

Git Clone URL: https://aur.archlinux.org/sysprof-dev.git (read-only, click to copy)
Package Base: sysprof-dev
Description: Kernel based performance profiler
Upstream URL: https://wiki.gnome.org/Apps/Sysprof
Licenses: GPL
Groups: gnome-extra
Conflicts: sysprof
Provides: sysprof
Submitter: titaniumtown
Maintainer: titaniumtown
Last Packager: titaniumtown
Votes: 1
Popularity: 0.40
First Submitted: 2020-02-24 19:59
Last Updated: 2020-03-04 17:23

Latest Comments

titaniumtown commented on 2020-03-04 17:23

Fixed your issue via a commit I just made.

chrisjbillington commented on 2020-03-04 16:03

This fixes it - you wanna strip the leading sysprof- off the tag to get the pkgver, then add it back in for the git checkout command.

diff --git a/PKGBUILD b/PKGBUILD
index ca0ffb9..82306ef 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -18,7 +18,8 @@ conflicts=(sysprof)

 pkgver() {
   cd $_pkgname
-  git describe --abbrev=0
+  ver=$(git describe --abbrev=0)
+  echo ${ver#"sysprof-"}
 }

 prepare() {
@@ -27,7 +28,7 @@ prepare() {

 build() {
   cd $_pkgname
-  git checkout tags/$pkgver
+  git checkout tags/sysprof-$pkgver
   cd ..
   CFLAGS+=" -ffat-lto-objects"

tasali commented on 2020-03-03 14:32

sysprof tagging scheme clashes with what makepkg is expecting. Package name gathered via git describe --abbrev=0 is not suitable with this.