28 lines
976 B
Bash
28 lines
976 B
Bash
# Template file for 'bCNC'
|
|
pkgname=bCNC
|
|
version=0.9.14.307
|
|
revision=2
|
|
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=005c3f2a0b244abab81dc3f6df2001f530db655165611165e7009e28b94cda5f
|
|
|
|
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
|
|
}
|