diff options
author | Nikhil Singh | 2023-08-07 09:27:09 +0530 |
---|---|---|
committer | Nikhil Singh | 2023-08-07 09:27:09 +0530 |
commit | d0ff1500475629153ea60322f077c9be9f6e07aa (patch) | |
tree | d556a9e3e22a5800b818ab1d771f8a195956bdbe | |
parent | 31a7f9555d2a82f0747bf21c8ae2d304ff4ccf97 (diff) | |
download | aur-d0ff1500475629153ea60322f077c9be9f6e07aa.tar.gz |
Modified the git tags
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 5 insertions, 4 deletions
@@ -1,6 +1,6 @@ pkgbase = center-align pkgdesc = Simple utility to align the stdout text (horizontal+vertical) Middle - pkgver = r1.f6fce9f + pkgver = 31a7f95 pkgrel = 1 url = https://github.com/niksingh710/center-align arch = x86_64 @@ -1,6 +1,6 @@ # Maintainer: Nikhil Singh <nik.singh710@gmail.com> pkgname=center-align -pkgver=r1.f6fce9f +pkgver=31a7f95 pkgrel=1 pkgdesc="Simple utility to align the stdout text (horizontal+vertical) Middle" arch=("x86_64") @@ -17,8 +17,7 @@ pkgver() { cd "$pkgname" ( set -o pipefail - git describe --long --abbrev=7 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' || - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)" + git describe --long --tags --always | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ) } @@ -29,3 +28,5 @@ package() { install -Dm644 ./LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE } + +# vim: ft=PKGBUILD |