diff --git a/srcpkgs/fstl/template b/srcpkgs/fstl/template new file mode 100644 index 00000000000..d9af794091f --- /dev/null +++ b/srcpkgs/fstl/template @@ -0,0 +1,18 @@ +# Template file for 'fstl' +pkgname=fstl +version=0.9.4 +revision=1 +build_style=cmake +hostmakedepends="qt5-qmake qt5-host-tools" +makedepends="qt5-devel" +short_desc="Fast viewer for STL files" +maintainer="Érico Nogueira " +license="MIT" +homepage="http://www.mattkeeter.com/projects/fstl/" +distfiles="https://github.com/mkeeter/${pkgname}/archive/v${version}.tar.gz" +checksum=5c2d6bf14ec0bee15d415a0810787bfd714971822a4fa9433c6ea476484dd335 + +post_install() { + grep -A8 "# License" README.md | sed 's/# License/MIT License/' > LICENSE + vlicense LICENSE +}