diff options
author | Yiyao Yu | 2021-09-21 00:30:39 -0400 |
---|---|---|
committer | Yiyao Yu | 2021-09-21 00:30:39 -0400 |
commit | 2dc0c08cd5495595a33447f9fe1f0a1640301265 (patch) | |
tree | 1151c48d1ca2d3ebe37026b0cc41380c3301c917 | |
parent | 3a7a095f7a1d814c249fccb5c03f0c874b47a0ac (diff) | |
download | aur-2dc0c08cd5495595a33447f9fe1f0a1640301265.tar.gz |
Workaround for trashtest tag generating invalid version numbers
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 5 insertions, 6 deletions
@@ -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 - @@ -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() { |