summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 1abe91373f06..12a7c9dd05f4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
# Contributor: Grey Christoforo <first name [at] last name [dot] net>
pkgname=arcus-beta-git
-pkgver=4.0
+pkgver=r367.cfb4921
pkgrel=1
pkgdesc="Communication library between internal components for Ultimaker software"
arch=('x86_64')
@@ -13,10 +13,15 @@ license=('LGPL3')
depends=('python' 'protobuf' 'python-sip')
makedepends=('cmake' 'git' 'sip')
provides=('arcus' 'libarcus')
-conflicts=('arcus' 'libarcus' 'arcus-beta')
-source=("git+${url}#branch=${pkgver}")
+conflicts=('arcus' 'libarcus')
+source=("git+${url}#branch=4.0")
md5sums=('SKIP')
+pkgver(){
+ cd libArcus
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
build() {
cd libArcus
mkdir -p build