diff options
author | Bart Ribbers <bribbers@disroot.org> | 2019-09-04 12:03:18 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-09-04 08:42:21 -0300 |
commit | edf06a9b03438393fb9ee66c6e9f1e5d7224273b (patch) | |
tree | e89f1ca3a602a8bbbfa8e0a2966455cd4450f69a /testing/kajongg | |
parent | e4270fac2a041dde11858d05039c9dadf511946e (diff) | |
download | aports-edf06a9b03438393fb9ee66c6e9f1e5d7224273b.tar.bz2 aports-edf06a9b03438393fb9ee66c6e9f1e5d7224273b.tar.xz |
testing/kajongg: new aport
Diffstat (limited to 'testing/kajongg')
-rw-r--r-- | testing/kajongg/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
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 <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +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" |