void-packages/srcpkgs/printrun/template

22 lines
679 B
Bash

# Template file for 'printrun'
pkgname=printrun
version=1.6.0
revision=3
archs=noarch
wrksrc="Printrun-printrun-${version}"
build_style=python2-module
hostmakedepends="python-setuptools python-pyserial"
depends="python wxPython python-pyserial python-pyglet python-numpy"
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
}