31 lines
940 B
Bash
31 lines
940 B
Bash
# Template file for 'leocad'
|
|
pkgname=leocad
|
|
version=23.03
|
|
revision=1
|
|
_lib_version=23.06
|
|
create_wrksrc=yes
|
|
build_style=qmake
|
|
configure_args="DISABLE_UPDATE_CHECK=1"
|
|
hostmakedepends="qt5-host-tools qt5-qmake unzip"
|
|
makedepends="qt5-devel MesaLib-devel"
|
|
short_desc="CAD program for creating virtual LEGO models"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-only, CC-BY-2.0"
|
|
homepage="http://leocad.org"
|
|
distfiles="https://github.com/leozide/leocad/archive/v${version}.tar.gz
|
|
https://github.com/leozide/leocad/releases/download/v${version}/Library-${_lib_version}.zip"
|
|
checksum="69a45c60898ed07d8cf7e714442b201b0da3adc073287170eb6f46901e4604ce
|
|
ef29c1e0fc989c9e9894072f43ae0030a5274c0cdcc831bc6c206bbe059f449b"
|
|
|
|
post_extract() {
|
|
mv leocad-${version}/* .
|
|
}
|
|
|
|
leocad-data_package() {
|
|
short_desc+=" - data files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vinstall library.bin 644 usr/share/leocad/
|
|
}
|
|
}
|