# Contributor: Aiden Grossman # Maintainer: Aiden Grossman pkgname=py3-arcus # Needs to be upgraded in sync with libarcus pkgver=5.2.2 pkgrel=3 pkgdesc="Python bindings for libarcus" url="https://github.com/Ultimaker/pyArcus" arch="all" license="LGPL-3.0-only" makedepends=" cmake libarcus-dev protobuf-dev py3-sip python3-dev samurai " options="!check" # package doesn't provide any tests source="$pkgname-$pkgver.tar.gz::https://github.com/Ultimaker/pyArcus/archive/refs/tags/$pkgver.tar.gz cmake.patch cmake-helpers.patch pyproject.patch" builddir="$srcdir/pyArcus-$pkgver" build() { cmake -G Ninja -B build \ -DBUILD_SHARED_LIBS=ON \ -DCMAKE_BUILD_TYPE=Release cmake --build build } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" b24cbb9a5d7aa917b1b21e46f935b1293645e731d4e475a5abe364237f35708e8e96a1c6f06fe78e2e0e381737f4a27a6db87e42a5f4de9d48091d9de096f9b0 py3-arcus-5.2.2.tar.gz f14e55cd31c13051981f26364e34da8c94e8eb5227b1cfd6fe44b9f97b5a4dcf6142a1751fa62eb0514a47583e6ec2d51dc253f23cf72c3fe6a1cb5dca136f21 cmake.patch de75b985607feae0a9c511742915814e9c3d4bc467183f010ccc334ce4d0d952b6ff86020360b78558c4738cc03cf62c386b44ed76bcec12075c4a93dd03eeb7 cmake-helpers.patch ef593230d5c78da8ba0fc6ea83225c4543857de1837d3151c45e59ffd7c98063b8f97f25d01c15b6a8f90c26c919206f9f7fa26c9650117f4ce7be49ebca876f pyproject.patch "