Date: Monday, July 16, 2018 @ 16:05:06
  Author: eschwartz
Revision: 359918

archrelease: copy trunk to community-staging-x86_64

Added:
  arcus/repos/community-staging-x86_64/
  arcus/repos/community-staging-x86_64/PKGBUILD
    (from rev 359917, arcus/trunk/PKGBUILD)

----------+
 PKGBUILD |   37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

Copied: arcus/repos/community-staging-x86_64/PKGBUILD (from rev 359917, 
arcus/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-16 16:05:06 UTC (rev 359918)
@@ -0,0 +1,37 @@
+# Maintainer: Jelle van der Waa <[email protected]>
+# Contributor: Grey Christoforo <first name [at] last name [dot] net>
+
+pkgname=arcus
+pkgver=3.4.1
+pkgrel=2
+pkgdesc="Communication library between internal components for Ultimaker 
software"
+url="https://github.com/Ultimaker/libArcus";
+arch=('x86_64')
+license=('AGPL')
+makedepends=('cmake' 'python-sip' 'sip')
+depends=('python' 'protobuf')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Ultimaker/libArcus/archive/${pkgver}.tar.gz";)
+md5sums=('ab2b7b682d1674bea7c939a9f50ad926')
+
+build() {
+  cd libArcus-${pkgver}
+  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-${pkgver}/build
+  make DESTDIR="${pkgdir}" install
+
+  install -Dm644 "${srcdir}/libArcus-${pkgver}/LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:

Reply via email to