void-packages/srcpkgs/fstl/template

19 lines
571 B
Bash

# Template file for 'fstl'
pkgname=fstl
version=0.10.0
revision=1
build_style=cmake
hostmakedepends="qt5-qmake qt5-host-tools"
makedepends="qt5-devel"
short_desc="Fast viewer for STL files"
maintainer="Érico Nogueira <ericonr@disroot.org>"
license="MIT"
homepage="http://www.mattkeeter.com/projects/fstl/"
distfiles="https://github.com/mkeeter/${pkgname}/archive/v${version}.tar.gz"
checksum=e00c9f5f90e5efc3804cd2d7a64efb9f592921b7ff78d7190aa4182145119d9a
post_install() {
grep -A8 "# License" README.md | sed 's/# License/MIT License/' > LICENSE
vlicense LICENSE
}