Date: Sunday, July 28, 2019 @ 20:20:21 Author: jelle Revision: 493950
archrelease: copy trunk to community-any Added: uranium/repos/community-any/PKGBUILD (from rev 493949, uranium/trunk/PKGBUILD) Deleted: uranium/repos/community-any/PKGBUILD ----------+ PKGBUILD | 80 +++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 44 insertions(+), 36 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-07-28 20:20:13 UTC (rev 493949) +++ PKGBUILD 2019-07-28 20:20:21 UTC (rev 493950) @@ -1,36 +0,0 @@ -# Maintainer: Jelle van der Waa <je...@vdwaa.nl> -# Contributor: Grey Christoforo <first name [at] last name [dot] net> - -pkgname=uranium -pkgver=4.1.0 -pkgrel=2 -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=('72245dba1fb74236144ffbe59497ef495b87bb3bb2b1d7ffcadebe138824eed4') - -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: Copied: uranium/repos/community-any/PKGBUILD (from rev 493949, uranium/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-07-28 20:20:21 UTC (rev 493950) @@ -0,0 +1,44 @@ +# Maintainer: Jelle van der Waa <je...@vdwaa.nl> +# Contributor: Grey Christoforo <first name [at] last name [dot] net> + +pkgname=uranium +pkgver=4.1.0 +pkgrel=3 +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" + 'https://patch-diff.githubusercontent.com/raw/Ultimaker/Uranium/pull/500.patch' + 'https://patch-diff.githubusercontent.com/raw/Ultimaker/Uranium/pull/499.patch') + +sha256sums=('72245dba1fb74236144ffbe59497ef495b87bb3bb2b1d7ffcadebe138824eed4' + 'd2d8c9acccfc59f906bfefe07d1683d363c65ac162a60c494acdebea121d9527' + '77cebd3742276ef585c8f93e7b942478e22abe1622ad6c1f0d1bd17d439fa3a5') + +prepare() { + cd Uranium-${pkgver} + sed -i 's,/dist-packages,.${PYTHON_VERSION_MINOR}/site-packages,g' CMakeLists.txt + + patch -p1 <"$srcdir/499.patch" + patch -p1 <"$srcdir/500.patch" +} + +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: