diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 4 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = emptty-git pkgdesc = Dead simple CLI Display Manager on TTY - pkgver = v0.2.0.r13.83ccf7b + pkgver = v0.2.2.r0.b4d087e pkgrel = 1 url = https://github.com/tvrzna/emptty arch = x86_64 @@ -1,6 +1,6 @@ # Maintainer: Lorenzo Debertolis <as3ii@gmail.com> pkgname=emptty-git -pkgver=v0.2.0.r13.83ccf7b +pkgver=v0.2.2.r0.b4d087e pkgrel=1 pkgdesc="Dead simple CLI Display Manager on TTY" arch=('x86_64') @@ -20,7 +20,8 @@ sha256sums=('SKIP') pkgver() { cd "$srcdir/${pkgname%-git}" - printf "%s" "$(git describe --tags --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')" + printf "%s" "$(git describe --tags --long $(git rev-list --tags --max-count=1) \ + | sed 's/\([^-]*-\)g/r\1/;s/-/./g')" } build() { |