vp-build/srcpkgs/leocad/template

27 lines
865 B
Bash

# Template file for 'leocad'
pkgname=leocad
version=18.02
revision=2
_lib_version=11331
build_style=qmake
hostmakedepends="qt5-tools-devel unzip"
makedepends="qt5-devel libGL"
configure_args="DISABLE_UPDATE_CHECK=1"
short_desc="A CAD program for creating virtual LEGO models"
maintainer="teldra <teldra@rotce.de>"
license="GPL-2"
homepage="http://leocad.org"
distfiles="https://github.com/leozide/${pkgname}/archive/v${version}.tar.gz
https://github.com/leozide/${pkgname}/releases/download/v${version}/Library-Linux-${_lib_version}.zip"
checksum="496567a9f05930b3366b38053b6de4f2c9d917280079eeb45d08581784903ca1
55063566f8c887b04f280e32aa138fee2388c267bfc5e7b0f51d5cdcff54c9b4"
leocad-data_package() {
short_desc+=" - data files"
depends="${sourcepkg}>=${version}_${revision}"
noarch=yes
pkg_install() {
vinstall ../library.bin 644 usr/share/leocad/
}
}