aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormio <miyopan@e.email>2021-11-23 13:40:12 -0500
committerLeo <thinkabit.ukim@gmail.com>2021-11-24 21:06:38 -0300
commitbf17f0f80e11beb9bba31347798e9cccc0cb8442 (patch)
tree04145fdf19dab6c8bb9d5783a70b4378c7a13693
parent4b122ecd1f83647f03428226a99b4ea48cae4ab3 (diff)
downloadaports-bf17f0f80e11beb9bba31347798e9cccc0cb8442.tar.gz
aports-bf17f0f80e11beb9bba31347798e9cccc0cb8442.tar.bz2
aports-bf17f0f80e11beb9bba31347798e9cccc0cb8442.tar.xz
testing/leocad: new aport
https://www.leocad.org/ A CAD application for creating virtual LEGO models
-rw-r--r--testing/leocad/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/leocad/APKBUILD b/testing/leocad/APKBUILD
new file mode 100644
index 0000000000..7f94e3958c
--- /dev/null
+++ b/testing/leocad/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: mio <miyopan@e.email>
+# Maintainer: mio <miyopan@e.email>
+pkgname=leocad
+pkgver=21.06
+_libver=20.03
+pkgrel=0
+pkgdesc="CAD application for creating virtual LEGO models"
+url="https://www.leocad.org/"
+license="GPL-2.0-only"
+arch="all"
+makedepends="qt5-qtbase-dev qt5-qttools-dev zlib-dev"
+subpackages="$pkgname-doc"
+source="https://github.com/leozide/leocad/archive/v$pkgver/leocad-v$pkgver.tar.gz
+ https://github.com/leozide/leocad/releases/download/v$pkgver/Library-$_libver.zip
+ "
+options="!check" # No tests
+
+build() {
+ DISABLE_UPDATE_CHECK=1 LDRAW_LIBRARY_PATH=/usr/share/leocad \
+ qmake-qt5 leocad.pro
+ make
+}
+
+package() {
+ INSTALL_ROOT="$pkgdir" make install
+ # Install parts library
+ mkdir -p "$pkgdir"/usr/share/leocad
+ mv "$srcdir"/library.bin "$pkgdir"/usr/share/leocad/
+}
+sha512sums="
+6cc868d3da15f9fe003a70d3a8ebaf2b4e6562a8728652cb7fc9e3ab5ddd9a90c5e433fd4d37cc9f972dc314399b4edb34fe5d9cd47ad63bf7c5d71e04e3c662 leocad-v21.06.tar.gz
+b339a07cb1e9fc5a35f108bba915a0363361b295ba82980550b7b4f82eaa43be45187cb6084cf123c65b52b2d89038c8abab847d0933f6166cac59404dda671a Library-20.03.zip
+"