[arch-commits] Commit in arcus/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Sat Mar 13 22:38:47 UTC 2021


    Date: Saturday, March 13, 2021 @ 22:38:46
  Author: foutrelis
Revision: 890661

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: arcus/repos/community-staging-x86_64/PKGBUILD (from rev 890660, arcus/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-03-13 22:38:46 UTC (rev 890661)
@@ -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.8.0
+pkgrel=3
+pkgdesc="Communication library between internal components for Ultimaker software"
+url="https://github.com/Ultimaker/libArcus"
+arch=('x86_64')
+license=('LGPL')
+makedepends=('cmake' 'sip4')
+depends=('python' 'protobuf' 'python-sip4')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Ultimaker/libArcus/archive/${pkgver}.tar.gz")
+sha512sums=('44db9b48ab6be08c30f2121d68197a7347eaf3ee255649969a773afbe45ec2433e2cc082aa72f6d40dad7ea28345da858471fff9a129365a4e848df8c8c07689')
+
+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