summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMario Ray Mahardhika2019-06-09 05:41:18 +0700
committerMario Ray Mahardhika2019-06-09 05:41:18 +0700
commit33745757b32dc0b3bffcdfc69044090642ebcd8a (patch)
treee1435d77abba7070ece9f99a8d8f4e2740ebfef1 /PKGBUILD
parentfbbc986de3faad93a35202f55808ae0a6c7b4bee (diff)
downloadaur-33745757b32dc0b3bffcdfc69044090642ebcd8a.tar.gz
Use dynamic pkgver from most recent tag in master
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 74acc8be9a72..b7a159321f8f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Mario Ray Mahardhika <leledumbo_cool@yahoo.co.id>
-pkgver=0.86
+pkgver=_
pkgrel=1
pkgname=telepresence-git
pkgdesc="Local development against a remote Kubernetes or OpenShift cluster - http://www.telepresence.io"
@@ -21,6 +21,10 @@ depends=(
source=("src::git+https://github.com/datawire/telepresence.git")
md5sums=('SKIP')
+pkgver() {
+ git describe --abbrev=0
+}
+
package(){
cd ${srcdir}/src
env PREFIX=${pkgdir}/usr ./install.sh