[arch-commits] Commit in uranium/repos (2 files)
Jelle van der Waa
jelle at archlinux.org
Thu Dec 12 20:02:35 UTC 2019
Date: Thursday, December 12, 2019 @ 20:02:35
Author: jelle
Revision: 537459
archrelease: copy trunk to community-testing-any
Added:
uranium/repos/community-testing-any/
uranium/repos/community-testing-any/PKGBUILD
(from rev 537458, uranium/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: uranium/repos/community-testing-any/PKGBUILD (from rev 537458, uranium/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2019-12-12 20:02:35 UTC (rev 537459)
@@ -0,0 +1,36 @@
+# Maintainer: Jelle van der Waa <jelle at vdwaa.nl>
+# Contributor: Grey Christoforo <first name [at] last name [dot] net>
+
+pkgname=uranium
+pkgver=4.4.0
+pkgrel=1
+pkgdesc="A Python framework for building Desktop applications."
+url="https://github.com/Ultimaker/Uranium"
+arch=('any')
+license=('LGPL')
+depends=('python' 'qt5-quickcontrols' 'qt5-quickcontrols2' 'pyqt5-common' 'python-pyqt5' 'python-numpy' 'arcus' 'python-shapely')
+makedepends=('cmake')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Ultimaker/${pkgname}/archive/${pkgver}.tar.gz")
+sha256sums=('6906804add202b19931e01844f418256168e560265b217e725a4d9d0acf21800')
+
+prepare() {
+ cd Uranium-${pkgver}
+ sed -i 's,/dist-packages,.${PYTHON_VERSION_MINOR}/site-packages,g' CMakeLists.txt
+}
+
+build() {
+ cd Uranium-${pkgver}
+ mkdir -p build && cd build
+
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release
+ make
+}
+
+package() {
+ cd Uranium-${pkgver}/build
+ make DESTDIR="${pkgdir}" install
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list