8ddd61d984
[ci skip]
31 lines
836 B
Bash
31 lines
836 B
Bash
# Template file for 'bcnc'
|
|
pkgname=bcnc
|
|
version=0.9.11
|
|
revision=1
|
|
wrksrc=bCNC-$version
|
|
hostmakedepends="python"
|
|
depends="python-pyserial python-Pillow python-tkinter"
|
|
archs=noarch
|
|
short_desc="GRBL CNC command sender, autoleveler and g-code editor"
|
|
maintainer="Urs Schulz <voidpkgs@ursschulz.de>"
|
|
license="GPL-2"
|
|
homepage="https://github.com/vlachoudis/bCNC"
|
|
distfiles="https://github.com/vlachoudis/bCNC/archive/0.9.11.tar.gz"
|
|
checksum=832cad8d64e8ff8fec8cb861a5c98fa8167f9522ef102c7d79a32ed67b3c3f00
|
|
|
|
|
|
do_build() {
|
|
python2 -O -m py_compile *.py
|
|
}
|
|
|
|
|
|
do_install() {
|
|
vinstall "${FILESDIR}"/bcnc.desktop 644 usr/share/applications/
|
|
vinstall bCNC.png 644 usr/share/pixmaps/ bcnc.png
|
|
|
|
vmkdir usr/lib/
|
|
vcopy . usr/lib/bcnc
|
|
vmkdir usr/bin
|
|
ln -s ../lib/bcnc/bCNC "$DESTDIR"/usr/bin/bCNC
|
|
ln -s ../lib/bcnc/bCNC "$DESTDIR"/usr/bin/bcnc
|
|
}
|