diff options
author | haawda | 2019-03-23 22:57:42 +0100 |
---|---|---|
committer | haawda | 2019-03-23 22:57:42 +0100 |
commit | ba96f72bc33e85864ad00c43c00c02d6a50fab26 (patch) | |
tree | 9964601f8d63645f9fc87f1a0521ccde5ff7a575 | |
parent | 74709103354bb30d2867193469da9cc9d3d952d6 (diff) | |
download | aur-ba96f72bc33e85864ad00c43c00c02d6a50fab26.tar.gz |
beautify pkgver function
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = pakku-git pkgdesc = Pacman wrapper with AUR support with latest changes from github repo - pkgver = 0.13r1.gd25443b + pkgver = 0.13r7.gfbb01f7 pkgrel = 1 url = https://github.com/kitsunyan/pakku arch = x86_64 @@ -2,7 +2,7 @@ # Maintainer: Stefan Husmann <stefan-husmann@t-online.de> pkgname=pakku-git -pkgver=0.13r1.gd25443b +pkgver=0.13r7.gfbb01f7 pkgrel=1 pkgdesc='Pacman wrapper with AUR support with latest changes from github repo' arch=('x86_64') @@ -19,7 +19,7 @@ sha256sums=('SKIP') pkgver() { cd ${pkgname%-git} - git describe --tags|sed 's+-+r+'|sed 's+-+.+g'| cut -c2- + git describe --tags|sed 's+-+r+'|tr - .| cut -c2- } build() { |