diff --git a/srcpkgs/stcgal/template b/srcpkgs/stcgal/template new file mode 100644 index 00000000000..52e7522cce5 --- /dev/null +++ b/srcpkgs/stcgal/template @@ -0,0 +1,20 @@ +# Template file for 'stcgal' +pkgname=stcgal +version=1.6 +revision=1 +noarch=yes +build_style=python3-module +pycompile_module="stcgal" +hostmakedepends="python3-setuptools" +depends="python3-pyserial python3-setuptools python3-tqdm" +short_desc="STC MCU ISP flash tool" +maintainer="bra1nwave " +license="MIT" +homepage="https://github.com/grigorig/stcgal" +distfiles="${homepage}/archive/v${version}.tar.gz" +checksum=1a526503226886a6c4d7fb8296e5530053bcac63fe6f4a29d5f6c40f86f9e20f + +post_install() { + head -n21 stcgal/frontend.py > LICENSE + vlicense LICENSE +}