2
2
mirror of https://github.com/octoleo/restic.git synced 2024-05-28 22:50:48 +00:00

Update PKGBUILD to reflect restic official version numbering

This commit is contained in:
Florian Daniel 2015-12-27 22:05:05 +01:00
parent 1f1b8e16a7
commit 360193320f

View File

@ -4,7 +4,7 @@
# Contributor: Alexander Neumann <alexander@bumpern.de> # Contributor: Alexander Neumann <alexander@bumpern.de>
options=(!strip) options=(!strip)
pkgname=restic-git pkgname=restic-git
pkgver=r702.c143f8c pkgver=v0.1.0.r172.g1f1b8e1
pkgrel=1 pkgrel=1
pkgdesc="restic is a program that does backups right." pkgdesc="restic is a program that does backups right."
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
@ -21,7 +21,7 @@ importpath='github.com/restic/restic'
pkgver() { pkgver() {
cd "$pkgname" 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() { build() {