summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Minnocci2021-01-28 12:22:59 +0100
committerFrancesco Minnocci2021-01-28 12:22:59 +0100
commit13627c11d81e46b1081f7ca9cac79c32e7f6258b (patch)
tree46b24f6033a9648c46cef4b526c9930d617a2bf1
parent1ca4c40035b9200cb807742f4e3bbb85eaa8e7ba (diff)
downloadaur-sxiv-bachoseven-git.tar.gz
Cleanup
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD9
2 files changed, 6 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8a5668f459c5..a1377a310f42 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
-
diff --git a/PKGBUILD b/PKGBUILD
index 8d44eddc6813..f9a72808c474 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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 +=|'