[arch-commits] Commit in (uranium uranium/repos uranium/trunk uranium/trunk/PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Sat Mar 25 12:06:13 UTC 2017


    Date: Saturday, March 25, 2017 @ 12:06:13
  Author: jelle
Revision: 218734

initial commit

As dep of cura

Added:
  uranium/
  uranium/repos/
  uranium/trunk/
  uranium/trunk/PKGBUILD

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

Added: uranium/trunk/PKGBUILD
===================================================================
--- uranium/trunk/PKGBUILD	                        (rev 0)
+++ uranium/trunk/PKGBUILD	2017-03-25 12:06:13 UTC (rev 218734)
@@ -0,0 +1,37 @@
+# Maintainer: Jelle van der Waa <jelle at vdwaa.nl>
+# Contributor: Grey Christoforo <first name [at] last name [dot] net>
+
+pkgname=uranium
+pkgver=2.4.0
+pkgrel=2
+pkgdesc="A Python framework for building Desktop applications."
+url="https://github.com/Ultimaker/Uranium"
+arch=('any')
+license=('AGPL')
+depends=('python' 'qt5-quickcontrols' 'pyqt5-common' 'python-pyqt5' 'python-numpy' 'arcus')
+makedepends=('cmake')
+source=("https://github.com/Ultimaker/${pkgname}/archive/${pkgver}.tar.gz")
+md5sums=('90b8aeb612a4639277b453fa416ff890')
+
+prepare() {
+  cd Uranium-${pkgver}
+  sed -i 's,DESTINATION lib/python${PYTHON_VERSION_MAJOR}/dist-packages,DESTINATION lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages,g' CMakeLists.txt
+  sed -i 's,DESTINATION lib/python${PYTHON_VERSION_MAJOR}/dist-packages/cura),DESTINATION lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages/cura),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:


Property changes on: uranium/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list