summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rwxr-xr-xPKGBUILD4
1 files changed, 4 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 920d0fd83de..fd6cbd8f4bd 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,6 +12,10 @@ source=('https://api.github.com/repos/tahnik/devrantron/releases/latest')
provides=($_pkgname)
sha1sums=('SKIP')
+pkgver() {
+ cat latest|jq --raw-output '.tag_name'|sed 's/v//g'
+}
+
build() {
if [ ! -f package.deb ]
then