25 lines
875 B
Bash
25 lines
875 B
Bash
# Template file for 'leocad'
|
|
pkgname=leocad
|
|
version=19.07.1
|
|
revision=3
|
|
_lib_version=14384
|
|
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-Linux-${_lib_version}.zip"
|
|
checksum="b74557e00366f1d3ddc211f9e55c28dba39987d66e5e3106490ab5fb75d25bc0
|
|
6bec1e45b464545fab866fcf7842d7e659521d418d7e7391f5f5cf574a4bd4e8"
|
|
|
|
leocad-data_package() {
|
|
short_desc+=" - data files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vinstall ../library.bin 644 usr/share/leocad/
|
|
}
|
|
}
|