summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorYiyao Yu2021-09-21 00:30:39 -0400
committerYiyao Yu2021-09-21 00:30:39 -0400
commit2dc0c08cd5495595a33447f9fe1f0a1640301265 (patch)
tree1151c48d1ca2d3ebe37026b0cc41380c3301c917
parent3a7a095f7a1d814c249fccb5c03f0c874b47a0ac (diff)
downloadaur-2dc0c08cd5495595a33447f9fe1f0a1640301265.tar.gz
Workaround for trashtest tag generating invalid version numbers
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5566f97522a2..a9597f1fbfb0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = vim-fugitive-git
pkgdesc = Git wrapper so awesome, it should be illegal.
- pkgver = 2.5.139.g6d42c7d
- pkgrel = 2
+ pkgver = 3.4.113.ge1d382b
+ pkgrel = 1
url = https://github.com/tpope/vim-fugitive
arch = any
groups = vim-plugins
@@ -16,4 +16,3 @@ pkgbase = vim-fugitive-git
sha256sums = 446c67d93c43addf076fe103a71844c2d875d478f82186436567dd221f2652f3
pkgname = vim-fugitive-git
-
diff --git a/PKGBUILD b/PKGBUILD
index 6fd3f2263d37..fdfd0bc9131e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,8 +5,8 @@
_pkgname=vim-fugitive
pkgname="${_pkgname}-git"
-pkgver=2.5.139.g6d42c7d
-pkgrel=2
+pkgver=3.4.113.ge1d382b
+pkgrel=1
pkgdesc='Git wrapper so awesome, it should be illegal.'
url='https://github.com/tpope/vim-fugitive'
arch=('any')
@@ -22,7 +22,7 @@ sha256sums=('SKIP'
pkgver() {
cd "${srcdir}/${_pkgname}"
- echo "$(git describe --always|cut -d 'v' -f2|sed -e 's|-|.|g' )"
+ echo "$(git describe --always|cut -d 'v' -f2|sed -e 's/-/./g'|sed -e 's/trashtest\./3.4.1/g')"
}
package() {