void-packages/srcpkgs/leocad/template
2021-01-19 20:52:13 -03:00

25 lines
867 B
Bash

# Template file for 'leocad'
pkgname=leocad
version=21.01
revision=1
_lib_version=20.03
build_style=qmake
configure_args="DISABLE_UPDATE_CHECK=1"
hostmakedepends="qt5-tools-devel unzip"
makedepends="qt5-devel MesaLib-devel"
short_desc="CAD program for creating virtual LEGO models"
maintainer="teldra <teldra@rotce.de>"
license="GPL-2.0-only, CC-BY-2.0"
homepage="http://leocad.org"
distfiles="https://github.com/leozide/${pkgname}/archive/v${version}.tar.gz
https://github.com/leozide/leocad/releases/download/v${version}/Library-${_lib_version}.zip"
checksum="d57576ced3855e1b57aa7e310c81929505db57e88a891094972579b2481bf0d6
88d6d28b3a494a15ae63e984c1e732e28362fabc2e145ffab828fed2eb5e3632"
leocad-data_package() {
short_desc+=" - data files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vinstall ../library.bin 644 usr/share/leocad/
}
}