From edf06a9b03438393fb9ee66c6e9f1e5d7224273b Mon Sep 17 00:00:00 2001 From: Bart Ribbers Date: Wed, 4 Sep 2019 12:03:18 +0200 Subject: testing/kajongg: new aport --- testing/kajongg/APKBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 testing/kajongg/APKBUILD (limited to 'testing/kajongg/APKBUILD') diff --git a/testing/kajongg/APKBUILD b/testing/kajongg/APKBUILD new file mode 100644 index 0000000000..eab3c69f37 --- /dev/null +++ b/testing/kajongg/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=kajongg +pkgver=19.08.0 +pkgrel=0 +arch="noarch" +url="https://kde.org/applications/games/org.kde.kajongg" +pkgdesc="Mah Jongg - the ancient Chinese board game for 4 players" +license="GPL-2.0-or-later AND GFDL-1.2-only" +depends="python3" +makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev kconfig-dev kdoctools-dev kconfigwidgets-dev libkmahjongg-dev py3-twisted" +source="https://download.kde.org/stable/applications/$pkgver/src/kajongg-$pkgver.tar.xz" +subpackages="$pkgname-doc $pkgname-lang" + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + make +} + +check() { + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" make install +} + +sha512sums="ba5bfcc68f9113de73767ff6f2190726419b978794604426dafeb89f7243f909124bfb338f9ce12a321e6b84156c2ac1ab588f45cd28f98d039510b378e064e1 kajongg-19.08.0.tar.xz" -- cgit v1.2.3