blob: 823622af4252c4a9e87299318a2ff702c3f28537 (
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
|
# Contributor: Richard Kakaš <richard.kakas@gmail.com>
# Contributor: Eric Anderson <ejona86@gmail.com>
# Maintainer: Dan Panzarella <alsoelp@gmail.com>
pkgname=printrun-git
_gitname='Printrun'
pkgver=1.6.0.1.g91720dc
pkgrel=2
epoch=1
pkgdesc='Pronterface, Pronsole, and Printcore - Pure Python 3D printing host software and GUI'
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
url='https://github.com/kliment/Printrun'
license=('GPL')
provides=('printrun')
conflicts=('printrun')
depends=('python2-pyserial' 'wxpython' 'python2-pyglet' 'desktop-file-utils')
optdepends=(
'python2-cairo: to use Projector feature'
'python2-cairosvg: to use Projector feature'
'python2-numpy: for 3D view'
'python2-dbus: to inhibit sleep when printing'
'python2-psutil: to increase process priority when printing')
makedepends=('git' 'cython2')
install="${pkgname}.install"
source=('git://github.com/kliment/Printrun.git')
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${_gitname}"
git describe --tags --always | sed 's/printrun-//' | sed 's|-|.|g'
}
build() {
cd "${srcdir}/${_gitname}"
python2 setup.py build
}
package() {
cd "${srcdir}/${_gitname}"
python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}
|