summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorC0rn3j2020-04-15 22:13:04 +0200
committerC0rn3j2020-04-15 22:13:04 +0200
commitd68be82a149155fdc99a79db9afd96563fdc0aa3 (patch)
tree41d029e0a95bd68661667d2571b5ced9f73e3fb6
parentfefaf735e641228ac009f69a68a9d8a4bf9f26cd (diff)
downloadaur-d68be82a149155fdc99a79db9afd96563fdc0aa3.tar.gz
add pkgver()
-rw-r--r--PKGBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index d2bbd403357..c84b7244e07 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Martin Rys <rys.pw/#contact_me>
pkgname=jicofo-git
-pkgver=r1.938738f
-pkgrel=2
+pkgver=r1153.039cfe38
+pkgrel=1
epoch=
pkgdesc="JItsi Meet COnference FOcus"
arch=("x86_64")
@@ -28,6 +28,11 @@ sha256sums=("SKIP"
"fea884f52b5c91b7514212d989fae36fd2113967c2617fae1b686ac6c774a7f8")
validpgpkeys=()
+pkgver() {
+ cd "$pkgname"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
build() {
cd "${srcdir}/${pkgname}"
mvn package -DskipTests -Dassembly.skipAssembly=false