diff options
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 9 insertions, 5 deletions
@@ -1,6 +1,6 @@ pkgbase = arcus-beta-git pkgdesc = Communication library between internal components for Ultimaker software - pkgver = 4.0 + pkgver = r367.cfb4921 pkgrel = 1 url = https://github.com/Ultimaker/libArcus arch = x86_64 @@ -15,7 +15,6 @@ pkgbase = arcus-beta-git provides = libarcus conflicts = arcus conflicts = libarcus - conflicts = arcus-beta source = git+https://github.com/Ultimaker/libArcus#branch=4.0 md5sums = SKIP @@ -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 |