diff options
author | svalo | 2019-08-20 09:20:10 +0200 |
---|---|---|
committer | svalo | 2019-08-20 09:20:10 +0200 |
commit | 3be64e4e893d58e821d5c8e42a4e31537526468b (patch) | |
tree | 6464cd8ebb1e4f508588b651466763a15da08ae4 | |
parent | 4d23dd10ab1137ea338ce75645661d3e3c1ae30d (diff) | |
download | aur-3be64e4e893d58e821d5c8e42a4e31537526468b.tar.gz |
Changes pkgver function to adhere to VCS guidelines
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 5 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = certbot-dns-gandi-git pkgdesc = gandi DNS authenticator plugin for certbot - GIT version - pkgver = 20190716.9bc7d07 - pkgrel = 1 + pkgver = 1.1.1.r3.g9bc7d07 + pkgrel = 2 url = https://github.com/obynio/certbot-plugin-gandi.git arch = any license = MIT @@ -1,8 +1,8 @@ # Maintainer: svalo <code@valo.space> pkgname="certbot-dns-gandi-git" pkgdesc="gandi DNS authenticator plugin for certbot - GIT version" -pkgver=20190716.9bc7d07 -pkgrel=1 +pkgver=1.1.1.r3.g9bc7d07 +pkgrel=2 arch=("any") url="https://github.com/obynio/certbot-plugin-gandi.git" license=("MIT") @@ -21,7 +21,7 @@ sha256sums=('SKIP' pkgver() { cd "${srcdir}/certbot-dns-gandi" - git log -1 --date=short --format="%cd.%h" | tr -d '-' + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } package() { |