blob: 5ebf956dc5776c449a2d2eddcd5f861494fd9cf8 (
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
|
# Contributor: Richard Kakaš <richard.kakas@gmail.com>
# Maintainer: Eric Anderson <ejona86@gmail.com>
pkgname=printrun
pkgver=2.2.0
pkgrel=1
epoch=1
_projectname='Printrun'
_gittag="printrun-${pkgver}"
pkgdesc='Pronterface, Pronsole, and Printcore - Pure Python 3D printing host software and GUI'
arch=('i686' 'x86_64')
url='https://github.com/kliment/Printrun'
license=('GPL')
provides=('printrun-git')
conflicts=('printrun-git')
depends=('python-pyserial' 'python-wxpython' 'python-pyglet' 'python-numpy' 'python-platformdirs')
optdepends=(
'python-cairo: to use Projector feature'
'python-dbus: to inhibit sleep when printing'
'python-psutil: to increase process priority when printing')
makedepends=('cython' 'python-setuptools')
source=("https://github.com/kliment/${_projectname}/archive/${_gittag}.tar.gz")
sha256sums=('4a2c25106db139a940aa45cf04ddeedf2afd775801c0ec6f008886230e1b5e3b')
build() {
cd "${srcdir}/${_projectname}-${_gittag}"
python setup.py build
python setup.py build_ext --inplace
}
package() {
cd "${srcdir}/${_projectname}-${_gittag}"
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}
|