Date: Sunday, February 25, 2018 @ 15:15:47 Author: jelle Revision: 297953
archrelease: copy trunk to community-any Added: uranium/repos/community-any/PKGBUILD (from rev 297952, uranium/trunk/PKGBUILD) Deleted: uranium/repos/community-any/PKGBUILD ----------+ PKGBUILD | 74 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 37 insertions(+), 37 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-02-25 15:15:33 UTC (rev 297952) +++ PKGBUILD 2018-02-25 15:15:47 UTC (rev 297953) @@ -1,37 +0,0 @@ -# Maintainer: Jelle van der Waa <je...@vdwaa.nl> -# Contributor: Grey Christoforo <first name [at] last name [dot] net> - -pkgname=uranium -pkgver=3.2.1 -pkgrel=1 -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=("$pkgname-$pkgver.tar.gz::https://github.com/Ultimaker/${pkgname}/archive/${pkgver}.tar.gz") -sha256sums=('856b0ec8e8c96737464c74294419cc423cbf463c5b19bb61f75ba35750f06d0d') - -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: Copied: uranium/repos/community-any/PKGBUILD (from rev 297952, uranium/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-02-25 15:15:47 UTC (rev 297953) @@ -0,0 +1,37 @@ +# Maintainer: Jelle van der Waa <je...@vdwaa.nl> +# Contributor: Grey Christoforo <first name [at] last name [dot] net> + +pkgname=uranium +pkgver=3.2.1 +pkgrel=2 +pkgdesc="A Python framework for building Desktop applications." +url="https://github.com/Ultimaker/Uranium" +arch=('any') +license=('AGPL') +depends=('python' 'qt5-quickcontrols2' 'pyqt5-common' 'python-pyqt5' 'python-numpy' 'arcus') +makedepends=('cmake') +source=("$pkgname-$pkgver.tar.gz::https://github.com/Ultimaker/${pkgname}/archive/${pkgver}.tar.gz") +sha256sums=('856b0ec8e8c96737464c74294419cc423cbf463c5b19bb61f75ba35750f06d0d') + +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: