28 lines
950 B
Bash
28 lines
950 B
Bash
# Template file for 'bCNC'
|
|
pkgname=bCNC
|
|
version=0.9.14.306
|
|
revision=1
|
|
archs=noarch
|
|
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"
|
|
}
|
|
|
|
bcnc_package() {
|
|
depends="bCNC>=${version}_${revision}"
|
|
short_desc+=" (transitional dummy package)"
|
|
build_style=meta
|
|
}
|