void-packages/srcpkgs/printrun/template

23 lines
694 B
Bash

# Template file for 'printrun'
pkgname=printrun
version=1.6.0
revision=2
archs=noarch
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="http://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
}