[arch-commits] Commit in arcus/repos (2 files)
Jelle van der Waa
jelle at archlinux.org
Tue Oct 8 10:12:59 UTC 2019
Date: Tuesday, October 8, 2019 @ 10:12:58
Author: jelle
Revision: 514193
archrelease: copy trunk to community-staging-x86_64
Added:
arcus/repos/community-staging-x86_64/
arcus/repos/community-staging-x86_64/PKGBUILD
(from rev 514192, arcus/trunk/PKGBUILD)
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Copied: arcus/repos/community-staging-x86_64/PKGBUILD (from rev 514192, arcus/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2019-10-08 10:12:58 UTC (rev 514193)
@@ -0,0 +1,38 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Contributor: Grey Christoforo <first name [at] last name [dot] net>
+
+# upstreamed renamed to libarcus
+pkgname=arcus
+pkgver=4.3.0
+pkgrel=2
+pkgdesc="Communication library between internal components for Ultimaker software"
+url="https://github.com/Ultimaker/libArcus"
+arch=('x86_64')
+license=('LGPL')
+makedepends=('cmake' 'sip')
+depends=('python' 'protobuf' 'python-sip')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Ultimaker/libArcus/archive/${pkgver}.tar.gz")
+sha512sums=('b3893e3c422de85a6968443a6f26149e9dee9f15038c11c219693b9aa8d5174d908421e33c8e3ce4e4ecab8c5077da217b44a9ec6bb4b351ff67b7f2d42cc890')
+
+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:
More information about the arch-commits
mailing list