diff options
author | Francesco Minnocci | 2021-01-28 12:22:59 +0100 |
---|---|---|
committer | Francesco Minnocci | 2021-01-28 12:22:59 +0100 |
commit | 13627c11d81e46b1081f7ca9cac79c32e7f6258b (patch) | |
tree | 46b24f6033a9648c46cef4b526c9930d617a2bf1 | |
parent | 1ca4c40035b9200cb807742f4e3bbb85eaa8e7ba (diff) | |
download | aur-sxiv-bachoseven-git.tar.gz |
Cleanup
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 6 insertions, 8 deletions
@@ -1,6 +1,6 @@ pkgbase = sxiv-bachoseven-git - pkgdesc = Sxiv fork which opens all files in the input file's directory, and some custom bindings. - pkgver = 2020.09.14 + pkgdesc = Sxiv fork which opens all files in the input file's directory, with some custom bindings. + pkgver = v26.r4.gf68fb4d pkgrel = 1 url = https://github.com/BachoSeven/sxiv arch = i686 @@ -17,4 +17,3 @@ pkgbase = sxiv-bachoseven-git sha256sums = SKIP pkgname = sxiv-bachoseven-git - @@ -6,9 +6,9 @@ _name=sxiv pkgname="${_name}-bachoseven-git" -pkgver=2020.09.14 +pkgver=v26.r4.gf68fb4d pkgrel=1 -pkgdesc="Sxiv fork which opens all files in the input file's directory, and some custom bindings." +pkgdesc="Sxiv fork which opens all files in the input file's directory, with some custom bindings." arch=('i686' 'x86_64') url="https://github.com/BachoSeven/${_name}" license=('GPL2') @@ -21,13 +21,12 @@ sha256sums=('SKIP') pkgver() { cd "${srcdir}/${_name}" - git log -1 --format="%cd" --date=short | sed 's/-/./g' + + git describe --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } prepare() { cd "${srcdir}/${_name}" - # use your customisations if present - [[ -f $SRCDEST/config.h ]] && cp "$SRCDEST"/config.h . # Allow custom FLAGS sed -i Makefile -e 's|^CFLAGS\s*=|CFLAGS +=|' -e 's|^LDFLAGS\s*=|LDFLAGS +=|' |