aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kirigami-gallery
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-06-25 11:47:33 +0200
committerLeo <thinkabit.ukim@gmail.com>2019-06-25 10:43:14 -0300
commite93b55cf213fe6f11ea074124a11cd303c6afccc (patch)
treee2d79e6e4dcebfb0a833ba8635a2af15c5d9290b /testing/kirigami-gallery
parent5552a510b4d94ec29a918eacd9b29dccda9a1d27 (diff)
downloadaports-e93b55cf213fe6f11ea074124a11cd303c6afccc.tar.bz2
aports-e93b55cf213fe6f11ea074124a11cd303c6afccc.tar.xz
testing/kirigami-gallery: new aport
Diffstat (limited to 'testing/kirigami-gallery')
-rw-r--r--testing/kirigami-gallery/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/kirigami-gallery/APKBUILD b/testing/kirigami-gallery/APKBUILD
new file mode 100644
index 0000000000..4330f33a18
--- /dev/null
+++ b/testing/kirigami-gallery/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=kirigami-gallery
+pkgver=19.04.2
+pkgrel=0
+arch="all"
+url="https://kde.org/applications/development/org.kde.kirigami2.gallery"
+pkgdesc="Gallery application built using Kirigami"
+license="LGPL-2.0-or-later"
+depends="kirigami2"
+makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtquickcontrols2-dev qt5-qtsvg-dev qt5-qttools-dev"
+source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
+subpackages="$pkgname-lang"
+
+prepare() {
+ default_prepare
+
+ mkdir "$builddir"/build
+}
+
+build() {
+ cd "$builddir"/build
+ cmake "$builddir" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib
+ make
+}
+
+check() {
+ cd "$builddir"/build
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ cd "$builddir"/build
+ DESTDIR="$pkgdir" make install
+}
+
+sha512sums="21995dac715aec599c655cf16b42be987c38fa8ac9f48a6043d65af31253a07a7693a95ed27d00511e0686396112b250a7495b336b9fbff3d54d0078df71ac3e kirigami-gallery-19.04.2.tar.xz"