diff options
author | brokenpip3 | 2018-12-29 12:30:24 +0100 |
---|---|---|
committer | brokenpip3 | 2018-12-29 12:30:24 +0100 |
commit | cef8c961f03060bbc2f85eb45bfc11ae2d4745a0 (patch) | |
tree | 3d825bafbcea19382adda852f7c80154649c8646 | |
parent | 1f8d45f7871479aeda3d81694cbcf1b90612b3e7 (diff) | |
download | aur-cef8c961f03060bbc2f85eb45bfc11ae2d4745a0.tar.gz |
fix tagged version
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,8 +1,8 @@ # Maintainer: Luigi Operoso <brokenpip3[at]gmail[dot]com> pkgname=lsix-git _pkgname=lsix -pkgver=1 -pkgrel=1 +pkgver=1.6.0.r4.g0a1ee99 +pkgrel=2 pkgdesc="Like ls but for images, shows thumbnails in terminal using sixel graphics" arch=('any') url="https://github.com/hackerb9/lsix" @@ -13,8 +13,8 @@ source=("git+https://github.com/hackerb9/lsix") sha256sums=('SKIP') pkgver() { - cd "${srcdir}/${_pkgname}" - echo "$(git rev-list --count HEAD).$(git describe --always)" +cd "${srcdir}/${_pkgname}" + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } package () { |