New package: leocad-18.02

Closes: #12806 [via git-merge-pr]
This commit is contained in:
teldra 2018-03-11 19:48:30 +01:00 committed by Michael Aldridge
parent d2ab22feb8
commit 673355708b
2 changed files with 27 additions and 0 deletions

1
srcpkgs/leocad-data Symbolic link
View File

@ -0,0 +1 @@
leocad

26
srcpkgs/leocad/template Normal file
View File

@ -0,0 +1,26 @@
# Template file for 'leocad'
pkgname=leocad
version=18.02
revision=1
_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/
}
}