void-packages/srcpkgs/printrun/template
Đoàn Trần Công Danh 1839a4f49d printrun: remove noarch
2020-11-29 08:30:22 +07:00

20 lines
666 B
Bash

# Template file for 'printrun'
pkgname=printrun
version=1.6.0
revision=4
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
}