summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Newgard2018-01-21 13:43:59 -0600
committerDoug Newgard2018-01-21 13:43:59 -0600
commit8175efd634c759197acf303b0e7c0e1707ca011f (patch)
treeb7d542d09ed85a364046f589efe451fd73000431
parent0c9d94ac36efc80f066b314c968629ce76c13ccc (diff)
downloadaur-8175efd634c759197acf303b0e7c0e1707ca011f.tar.gz
Change back to tag-based versioning
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d5a4084b971..ec08fb3f8e2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = onedrive-git
pkgdesc = Free OneDrive client written in D
- pkgver = r154.g4511242
+ pkgver = 1.1.1.r0.gd9a5d1b
pkgrel = 1
epoch = 1
url = https://github.com/skilion/onedrive
@@ -13,7 +13,7 @@ pkgbase = onedrive-git
depends = gcc-libs
depends = glibc
depends = sqlite
- provides = onedrive=r154.g4511242
+ provides = onedrive=1.1.1.r0.gd9a5d1b
conflicts = onedrive
source = git+https://github.com/skilion/onedrive.git
sha256sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 5af871f785a..713d8606e55 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_pkgname=onedrive
pkgname=$_pkgname-git
-pkgver=r154.g4511242
+pkgver=1.1.1.r0.gd9a5d1b
pkgrel=1
epoch=1
pkgdesc='Free OneDrive client written in D'
@@ -20,7 +20,7 @@ sha256sums=('SKIP')
pkgver() {
cd $_pkgname
- printf 'r%s.g%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {