# Contributor: nu # Maintainer: nu pkgname=vym pkgver=2.9.0 pkgrel=0 pkgdesc="View Your Mind (VYM) is a cross-platform concept mapping software" url="https://www.insilmaril.de/vym/" arch="all" license="GPL-2.0-only" makedepends=" cmake qt5-qtbase-dev qt5-qtscript-dev qt5-qtsvg-dev qt5-qttools-dev samurai " subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/insilmaril/vym/archive/refs/tags/v$pkgver.tar.gz" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=MinSizeRel \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_INSTALL_DATAROOTDIR=share/vym cmake --build build } package() { DESTDIR="$pkgdir" cmake --install build mv "$pkgdir"/usr/share/vym/doc "$pkgdir"/usr/share/doc mv "$pkgdir"/usr/share/vym/man "$pkgdir"/usr/share/man } sha512sums=" b9cf714952b7a2c2d65f8790bc5a0b9fa62755d5bdf8552c37254e3274ad3573ec3b7b9bb70b1a00acfd50889afd13bf7427446c2eec3362bf9c38b3a2713052 vym-2.9.0.tar.gz "