void-packages/srcpkgs/bCNC/template
2020-10-10 10:21:09 -04:00

28 lines
976 B
Bash

# Template file for 'bCNC'
pkgname=bCNC
version=0.9.14.306
revision=3
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-pyserial python3-Pillow python3-tkinter python3-numpy python3-scipy"
short_desc="GRBL CNC command sender, autoleveler and g-code editor"
maintainer="Urs Schulz <voidpkgs@ursschulz.de>"
license="GPL-2.0-only"
homepage="https://github.com/vlachoudis/bCNC"
distfiles="${PYPI_SITE}/b/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=3af8590e3d2b6320fc1d0db019ba5584736c7a30dd205de531656f6d8f3b04cc
post_install() {
vmkdir usr/share/applications
vmkdir usr/share/pixmaps
ln -s "/${py3_sitelib}/bCNC/bCNC.desktop" "${DESTDIR}/usr/share/applications/"
ln -s "/${py3_sitelib}/bCNC/bCNC.png" "${DESTDIR}/usr/share/pixmaps/"
ln -s "bCNC" "${DESTDIR}/usr/bin/bcnc"
rm -r ${DESTDIR}/${py3_sitelib}/tests
}
bcnc_package() {
depends="bCNC>=${version}_${revision}"
short_desc+=" (transitional dummy package)"
build_style=meta
}