Subject: [PATCH] testing/vym: new aport

From: Paul Bredbury <[email-masked]>
Date: Sun, 28 Jul 2019 14:56:04 +0100

https://www.insilmaril.de/vym/
Mind-mapping GUI
---
 testing/vym/APKBUILD    | 33 +++++++++++++++++++++++++++++++++
 testing/vym/vym.desktop |  9 +++++++++
 2 files changed, 42 insertions(+)
 create mode 100644 testing/vym/APKBUILD
 create mode 100644 testing/vym/vym.desktop

diff --git a/testing/vym/APKBUILD b/testing/vym/APKBUILD
new file mode 100644
index 0000000000..94f00f7523
--- /dev/null
+++ b/testing/vym/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: Paul Bredbury <[email-masked]>
+pkgname=vym
+# 2.7.0 and 2.7.1 have bug: text is not pasted at the cursor
+pkgver=2.6.11
+pkgrel=0
+pkgdesc="Mind-mapping GUI"
+url="https://www.insilmaril.de/vym/"
+arch="x86_64" # Unknown whether works on other arches
+license="GPL-2.0-only"
+# VYM files are zip-compressed
+depends="unzip zip"
+# Add qt5-qtscript-dev to makedepends, for vym 2.7.0+ to compile
+makedepends="qt5-qtsvg-dev qt5-qttools-dev"
+source="https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2
+	$pkgname.desktop"
+options="!check" # No test suite
+
+build() {
+	lrelease-qt5 lang/*.ts
+
+	qmake-qt5 PREFIX=/usr DATADIR=/usr/share
+	make
+}
+
+package() {
+	make INSTALL_ROOT="$pkgdir" install
+
+	install -Dm 644 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
+	install -Dm 644 "icons/vym.png" "$pkgdir/usr/share/icons/$pkgname.png"
+}
+
+sha512sums="d6ae8346152ab10e12a68f25b4c13c4d40e1a8471df348ba0df9c05bdbe60f86a97912fcca268ec510246fe655a7dcc2d2e9a9332daee09a2a7dda7d6f880aa1  vym-2.6.11.tar.bz2
+07629caeb13b0c92ba049f23fe44c7a8ca796201d90e5d49629cb606be7ebb36daf13fbc821e3d4d549bb1c4b09470d6a6829aa107c17efd3ca130592c51e6b4  vym.desktop"
diff --git a/testing/vym/vym.desktop b/testing/vym/vym.desktop
new file mode 100644
index 0000000000..f3c60a45d3
--- /dev/null
+++ b/testing/vym/vym.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Exec=vym
+Icon=vym
+MimeType=application/x-vym;
+Categories=Qt;KDE;Office;
+Name=vym Mind Map Editor
+Comment=Create mind maps
+GenericName=Planning Tool
-- 
2.22.0