summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 25ab4b9cfa18c613f908c0bca76c0238772ea637 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Maintainer: Adam Goldsmith <contact@adamgoldsmith.name>
# Original Author: Grey Christoforo <first name [at] last name [dot] net>

pkgname=uranium-git
pkgver=4.5.0.45.gf97733b4
pkgrel=1
pkgdesc="A Python framework for building Desktop applications."
url="https://github.com/Ultimaker/Uranium"
arch=('any')
license=('GPL3')
provides=('uranium')
conflicts=('uranium')
depends=('qt5-quickcontrols'
         'python'
         'python-certifi'
         'python-cryptography'
         'python-numpy'
         'python-pyqt5'
         'python-scipy'
         'python-shapely'
         'libarcus-git')
makedepends=('cmake' 'git')
source=('git+https://github.com/Ultimaker/Uranium.git')
md5sums=('SKIP')

pkgver() {
  cd Uranium
  git describe --tags | sed 's/-/./g'
}

build() {
  mkdir -p Uranium/build
  cd Uranium/build
  cmake -DCMAKE_INSTALL_PREFIX=/usr ..
  make
}

package() {
  cd Uranium/build
  make DESTDIR="${pkgdir}" install

  #install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}

# vim:set ts=2 sw=2 et: