From 8e28b197a5950c272ba928ebce35acc7d84b7636 Mon Sep 17 00:00:00 2001 From: Luca Weiss Date: Fri, 23 Oct 2020 17:35:50 +0200 Subject: [PATCH] kde/peruse: new aport (MR 1643) --- kde/peruse/APKBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 kde/peruse/APKBUILD diff --git a/kde/peruse/APKBUILD b/kde/peruse/APKBUILD new file mode 100644 index 000000000..6378de548 --- /dev/null +++ b/kde/peruse/APKBUILD @@ -0,0 +1,40 @@ +# Maintainer: Bart Ribbers +pkgname=peruse +pkgver=0_git20201022 +pkgrel=0 +_commit="ecf28af788851773fb29cc57fab2922abb6fa670" +pkgdesc="A comic book viewer based on Frameworks 5, for use on multiple form factors" +# armhf blocked by extra-cmake-modules +arch="all !armhf" +url="https://invent.kde.org/graphics/peruse" +license="LGPL-2.1-or-later AND LicenseRef-KDE-Accepted-LGPL" +depends=" + kirigami2 + qt5-qtbase-sqlite + qt5-qtimageformats + qt5-qtquickcontrols + " +makedepends=" + extra-cmake-modules + kdeclarative-dev + kfilemetadata-dev + knewstuff-dev + qt5-qtdeclarative-dev + " +source="https://invent.kde.org/graphics/peruse/-/archive/$_commit/peruse-$_commit.tar.gz" +options="!check" # No tests +builddir="$srcdir/$pkgname-$_commit" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --build build --target install +} + +sha512sums="f0cfa4c802d757dafe86bdd85d82c2c1b4a837f4a211e7d073fcc20312f89d74e6e5e23a5eb84d13e7740ae663aad82cb208a998f067419eae4b9a58849388bc peruse-ecf28af788851773fb29cc57fab2922abb6fa670.tar.gz"