summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikhail Rudenko2019-03-02 02:24:49 +0300
committerMikhail Rudenko2019-03-02 02:24:49 +0300
commit7ecdf242a3ed369a1f61028529c339f17a00e9cc (patch)
tree1dfa10e7b3019f517b78b53a58cdaecac8669a90
parentc1974b7eac89940daea984279cee8e7ffddc6c7e (diff)
downloadaur-7ecdf242a3ed369a1f61028529c339f17a00e9cc.tar.gz
Change versioning scheme (releases gone from github)
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD7
2 files changed, 6 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 268ad01b004..c2ccebe24e8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = bingo-git
pkgdesc = A Go language server that speaks Language Server Protocol, largely inspired by go-langserver (git version).
- pkgver = 1.1.0.r95.gc4b7017
+ pkgver = r875.ea0a232
pkgrel = 1
url = https://github.com/saibing/bingo
arch = x86_64
@@ -10,7 +10,7 @@ pkgbase = bingo-git
provides = bingo
conflicts = bingo
source = bingo::git://github.com/saibing/bingo
- sha256sums = SKIP
+ md5sums = SKIP
pkgname = bingo-git
diff --git a/PKGBUILD b/PKGBUILD
index c82997f54da..9d0f91f5b49 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
#Maintainer: Mikhail Rudenko <mike.rudenko@gmail.com>
_pkgname=bingo
pkgname=$_pkgname-git
-pkgver=1.1.0.r95.gc4b7017
+pkgver=r875.ea0a232
pkgrel=1
pkgdesc='A Go language server that speaks Language Server Protocol, largely inspired by go-langserver (git version).'
arch=('x86_64')
@@ -9,13 +9,14 @@ url="https://github.com/saibing/bingo"
license=('MIT')
makedepends=('go' 'git')
source=($_pkgname::git://github.com/saibing/bingo)
-sha256sums=('SKIP')
+md5sums=('SKIP')
+
provides=($_pkgname)
conflicts=($_pkgname)
pkgver() {
cd $_pkgname
- git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {