diff options
author | Henri | 2019-10-12 10:20:14 +0200 |
---|---|---|
committer | Henri | 2019-10-12 10:20:14 +0200 |
commit | abca14cc5cc1ef088f13e3a10569ec5b3eee4890 (patch) | |
tree | b7b992fe84504079502a748fd495860ef12922ed | |
parent | fe7fe83db3634d208826af1a97be45be61c699ec (diff) | |
download | aur-abca14cc5cc1ef088f13e3a10569ec5b3eee4890.tar.gz |
use of proper pkgver() array
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 5 insertions, 5 deletions
@@ -1,6 +1,6 @@ pkgbase = gnome-shell-extension-material-shell-git pkgdesc = GNOME Shell Extension Material Shell - pkgver = 0+243+gd7ca487 + pkgver = r243.d7ca487 pkgrel = 5 url = https://github.com/PapyElGringo/material-shell arch = any @@ -1,6 +1,6 @@ # Maintainer: Henri van de Munt <(firstname) @ gmail.com> pkgname=gnome-shell-extension-material-shell-git -pkgver=0+243+gd7ca487 +pkgver=r243.d7ca487 pkgrel=5 pkgdesc="GNOME Shell Extension Material Shell" arch=('any') @@ -15,9 +15,9 @@ groups=('gnome-shell-extensions') source=('git+https://github.com/PapyElGringo/material-shell.git') md5sums=('SKIP') -prepare() { - cd material-shell - printf '0+%s+g%s' $(git rev-list --count HEAD) $(git rev-parse --short HEAD) +pkgver() { + cd material-shell + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } package() { |