From 673355708b3f2548b039302c6051c7f16cfb84f0 Mon Sep 17 00:00:00 2001 From: teldra Date: Sun, 11 Mar 2018 19:48:30 +0100 Subject: [PATCH] New package: leocad-18.02 Closes: #12806 [via git-merge-pr] --- srcpkgs/leocad-data | 1 + srcpkgs/leocad/template | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 120000 srcpkgs/leocad-data create mode 100644 srcpkgs/leocad/template diff --git a/srcpkgs/leocad-data b/srcpkgs/leocad-data new file mode 120000 index 00000000000..07874efcffe --- /dev/null +++ b/srcpkgs/leocad-data @@ -0,0 +1 @@ +leocad \ No newline at end of file diff --git a/srcpkgs/leocad/template b/srcpkgs/leocad/template new file mode 100644 index 00000000000..f79443e8e3c --- /dev/null +++ b/srcpkgs/leocad/template @@ -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 " +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/ + } +}