32 lines
1.1 KiB
Bash
32 lines
1.1 KiB
Bash
# Template file for 'bCNC'
|
|
pkgname=bCNC
|
|
version=0.9.15
|
|
revision=2
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3-pyserial python3-Pillow python3-tkinter python3-numpy python3-scipy
|
|
python3-svgelements python3-shxparser"
|
|
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=7ca77f8914d2da51b4a2bf5db1fe48f52037e59e972769bf48c932fbee2d5ff3
|
|
make_check=no # all tests require pyautogui, which is not packaged
|
|
|
|
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
|
|
vdoc "${FILESDIR}/README.voidlinux"
|
|
}
|
|
|
|
bcnc_package() {
|
|
depends="bCNC>=${version}_${revision}"
|
|
short_desc+=" (transitional dummy package)"
|
|
build_style=meta
|
|
}
|