Package Details: sigrok-cli-git 0.6.0.r58.gb5c8f3a-1

Git Clone URL: https://aur.archlinux.org/sigrok-cli-git.git (read-only)
Package Base: sigrok-cli-git
Description: Client software that supports various hardware logic analyzers, CLI client (git version)
Upstream URL: http://www.sigrok.org/wiki/Sigrok-cli
Licenses: GPL3
Conflicts: sigrok-cli
Provides: sigrok-cli
Submitter: Manouchehri
Maintainer: codyps
Last Packager: codyps
Votes: 1
Popularity: 0.000000
First Submitted: 2015-09-08 22:23
Last Updated: 2019-01-18 20:50

Required by (0)

Sources (1)

Latest Comments

codyps commented on 2018-11-03 18:27

Needs a patch to avoid the "unreleased" version number.

From 1e8bbb3fea15677f7e8fa544f5635e841efbd104 Mon Sep 17 00:00:00 2001
From: Cody P Schafer <dev@codyps.com>
Date: Sat, 3 Nov 2018 14:18:52 -0400
Subject: [PATCH] avoid the "unreleased" version number

---
 .SRCINFO | 2 +-
 PKGBUILD | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO
index 5933a69..2c79161 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = sigrok-cli-git
    pkgdesc = Client software that supports various hardware logic analyzers, CLI client (git version)
-   pkgver = 0.5.0.r86.g15a14bf
+   pkgver = 0.6.0.r53.gf5735c5
    pkgrel = 1
    url = http://www.sigrok.org/wiki/Sigrok-cli
    arch = armv6h
diff --git a/PKGBUILD b/PKGBUILD
index 8a93369..0a9eb0d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@

 _gitname='sigrok-cli'
 pkgname="${_gitname}-git"
-pkgver=0.5.0.r86.g15a14bf
+pkgver=0.6.0.r53.gf5735c5
 pkgrel=1
 pkgdesc="Client software that supports various hardware logic analyzers, CLI client (git version)"
 arch=('armv6h' 'armv7h' 'i686' 'x86_64')
@@ -21,7 +21,7 @@ pkgver() {
   cd "${srcdir}/${_gitname}"
   (
     set -o pipefail
-    git describe --long 2>/dev/null | sed "s/\([^-]*-g\)/r\1/;s/-/./g;s/sigrok.cli.//" ||
+    git describe --long --exclude sigrok-cli-unreleased 2>/dev/null | sed "s/\([^-]*-g\)/r\1/;s/-/./g;s/sigrok.cli.//" ||
       printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
   )
 }
@@ -41,4 +41,4 @@ package() {
   make DESTDIR="${pkgdir}" PREFIX=/usr install
 }

-# vim:set et sw=2 sts=2 tw=80:
\ No newline at end of file
+# vim:set et sw=2 sts=2 tw=80:
-- 
2.19.1