From 55a8d83600c2a7e8537ec8525bf5133ad137f6e1 Mon Sep 17 00:00:00 2001 From: Jasper Chan Date: Mon, 12 Nov 2018 21:12:27 -0800 Subject: [PATCH] New package: printrun-1.6.0 --- srcpkgs/printrun/template | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/printrun/template diff --git a/srcpkgs/printrun/template b/srcpkgs/printrun/template new file mode 100644 index 0000000000..efb579cf3e --- /dev/null +++ b/srcpkgs/printrun/template @@ -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 " +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 +}