summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 1c34dc4960e9..06d1e100b83a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,8 +4,8 @@ pkgname="linux-timemachine-git"
pkgdesc="Rsync-based OSX-like time machine for atomic and resumable local and remote backups"
url="https://github.com/cytopia/linux-timemachine"
-pkgver=v1.2.r0.g19d6e9a
-pkgrel=1
+pkgver=1.2.r0.g19d6e9a
+pkgrel=2
arch=("any")
license=("MIT")
@@ -19,7 +19,7 @@ sha256sums=("SKIP")
pkgver() {
cd "${pkgname}"
- git describe --long --always | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+ git describe --long --always | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {