Package Details: srain-git 1.5.1.9.gcb3704b-1

Git Clone URL: https://aur.archlinux.org/srain-git.git (read-only, click to copy)
Package Base: srain-git
Description: Modern IRC client written in GTK, git version
Upstream URL: https://srain.silverrainz.me
Keywords: client gtk irc
Licenses: GPL
Conflicts: srain
Provides: srain
Submitter: SilverRainZ
Maintainer: SilverRainZ (lilac)
Last Packager: lilac
Votes: 4
Popularity: 0.010061
First Submitted: 2016-03-29 11:37 (UTC)
Last Updated: 2023-10-23 20:18 (UTC)

Latest Comments

qubidt commented on 2023-06-16 13:31 (UTC)

would you mind updating the pkgver function to comply with the pkgver guidelines for VCS packages? suggestion:

diff --git a/PKGBUILD b/PKGBUILD
index 4898716..2619633 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
 # Maintainer: Shengyu Zhang <la@archlinuxcn.org>

 pkgname=srain-git
-pkgver=1.4.1
-pkgrel=3
+pkgver=1.5.1.r0.g46ba1e2
+pkgrel=1
 pkgdesc="Modern IRC client written in GTK, git version"
 arch=('i686' 'pentium4' 'x86_64' 'arm' 'armv7h' 'armv6h' 'aarch64')
 license=('GPL')
@@ -21,7 +21,7 @@ _prefix='/usr'

 pkgver() {
     cd ${pkgname%-git}
-    git describe --tags | sed 's/-/./g'
+    git describe --long --abbrev=7 --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
 }

 build() {