void-packages/srcpkgs/leocad/template
2019-07-15 10:17:33 +02:00

26 lines
876 B
Bash

# Template file for 'leocad'
pkgname=leocad
version=19.07.1
revision=2
_lib_version=11494
build_style=qmake
configure_args="DISABLE_UPDATE_CHECK=1"
hostmakedepends="qt5-tools-devel unzip"
makedepends="qt5-devel libGL"
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/v18.02/Library-Linux-${_lib_version}.zip"
checksum="b74557e00366f1d3ddc211f9e55c28dba39987d66e5e3106490ab5fb75d25bc0
5c496fd973a7d8cb4f2b224b2b9efcbd44c4843ff0c47c6d65d51abc4ed7678b"
leocad-data_package() {
short_desc+=" - data files"
depends="${sourcepkg}>=${version}_${revision}"
archs=noarch
pkg_install() {
vinstall ../library.bin 644 usr/share/leocad/
}
}