New package: printrun-1.6.0

This commit is contained in:
Jasper Chan 2018-11-12 21:12:27 -08:00 committed by maxice8
parent 3c593c5d5b
commit 55a8d83600

22
srcpkgs/printrun/template Normal file
View file

@ -0,0 +1,22 @@
# Template file for 'printrun'
pkgname=printrun
version=1.6.0
revision=1
noarch=yes
wrksrc="Printrun-printrun-${version}"
build_style=python2-module
pycompile_module="printrun"
hostmakedepends="python-setuptools python-pyserial"
depends="python wxPython python-pyserial python-pyglet"
short_desc="3D printing host suite"
maintainer="Jasper Chan <jasperchan515@gmail.com>"
license="GPL-3.0-or-later"
homepage="www.pronterface.com"
distfiles="https://github.com/kliment/Printrun/archive/printrun-${version}.tar.gz"
checksum=fefcb4c5793fc77205a14263bc915616cde0523cd60704f356191b9ae34ba65d
post_install() {
for file in ${DESTDIR}/usr/bin/*.py; do
mv -- "$file" "${file%%.py}"
done
}