summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Daniel2015-12-27 21:54:41 +0100
committerFlorian Daniel2015-12-27 21:54:41 +0100
commit721ebc4dae24ea041b8cef018e18d4a235298c9a (patch)
tree4076c443ed1a6f5f6f89506c5cbbda00d275f744
parent02fad4b6b2e47ae4cd69acd66816e3301016df9f (diff)
downloadaur-721ebc4dae24ea041b8cef018e18d4a235298c9a.tar.gz
Update to official restic version numbering
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 6ab5853efaa..b6e4ae7c28d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
# Contributor: Alexander Neumann <alexander@bumpern.de>
options=(!strip)
pkgname=restic-git
-pkgver=r702.c143f8c
+pkgver=v0.1.0.r172.g1f1b8e1
pkgrel=1
pkgdesc="restic is a program that does backups right."
arch=('i686' 'x86_64')
@@ -21,7 +21,7 @@ importpath='github.com/restic/restic'
pkgver() {
cd "$pkgname"
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)";
+ git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {