Date: Saturday, December 14, 2019 @ 00:37:30 Author: arojas Revision: 537599
archrelease: copy trunk to extra-any Added: uranium/repos/extra-any/ uranium/repos/extra-any/PKGBUILD (from rev 537598, uranium/trunk/PKGBUILD) ----------+ PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) Copied: uranium/repos/extra-any/PKGBUILD (from rev 537598, uranium/trunk/PKGBUILD) =================================================================== --- extra-any/PKGBUILD (rev 0) +++ extra-any/PKGBUILD 2019-12-14 00:37:30 UTC (rev 537599) @@ -0,0 +1,36 @@ +# Maintainer: Jelle van der Waa <je...@vdwaa.nl> +# Contributor: Grey Christoforo <first name [at] last name [dot] net> + +pkgname=uranium +pkgver=4.3.0 +pkgrel=5 +pkgdesc="A Python framework for building Desktop applications." +url="https://github.com/Ultimaker/Uranium" +arch=('any') +license=('LGPL') +depends=('python' 'qt5-quickcontrols' 'qt5-quickcontrols2' 'python-pyqt5' 'python-numpy' 'arcus' 'python-shapely') +makedepends=('cmake') +source=("$pkgname-$pkgver.tar.gz::https://github.com/Ultimaker/${pkgname}/archive/${pkgver}.tar.gz") +sha256sums=('9f871877cf46e8b9e58346f33fdb6eed07c08f242fe292d0c993f224005dfc38') + +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: