blob: 12a7c9dd05f4c71b3dd36f35bedebf929ba4c4a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Maintainer: Anton T Johansson <anton@tetov.se>
# Contributor: GPereira
# Contributor: Jelle van der Waa <jelle@archlinux.org>
# Contributor: Grey Christoforo <first name [at] last name [dot] net>
pkgname=arcus-beta-git
pkgver=r367.cfb4921
pkgrel=1
pkgdesc="Communication library between internal components for Ultimaker software"
arch=('x86_64')
url="https://github.com/Ultimaker/libArcus"
license=('LGPL3')
depends=('python' 'protobuf' 'python-sip')
makedepends=('cmake' 'git' 'sip')
provides=('arcus' 'libarcus')
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
cd build
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_EXAMPLES=OFF \
-DCMAKE_INSTALL_LIBDIR=/usr/lib/
make
}
package() {
cd libArcus/build
make DESTDIR="${pkgdir}" install
}
# vim:set ts=2 sw=2 et:
|