diff options
author | Bart Ribbers <bribbers@disroot.org> | 2019-09-04 12:16:58 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-09-04 08:39:48 -0300 |
commit | 79f4a15611fe5e335eb1830e4a8872cea7a54ba3 (patch) | |
tree | 5e410b0b83be574b33d7adfd5629a0665202795c /testing/kblackbox | |
parent | f4d61886c18a1c69e62684335f054b8a131db3ff (diff) | |
download | aports-79f4a15611fe5e335eb1830e4a8872cea7a54ba3.tar.bz2 aports-79f4a15611fe5e335eb1830e4a8872cea7a54ba3.tar.xz |
testing/kblackbox: new aport
Diffstat (limited to 'testing/kblackbox')
-rw-r--r-- | testing/kblackbox/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/kblackbox/APKBUILD b/testing/kblackbox/APKBUILD new file mode 100644 index 0000000000..d6a38d701f --- /dev/null +++ b/testing/kblackbox/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=kblackbox +pkgver=19.08.0 +pkgrel=0 +arch="all" +url="https://kde.org/applications/games/org.kde.kblackbox" +pkgdesc="A game of hide and seek played on a grid of boxes" +license="GPL-2.0-or-later AND GFDL-1.2-only" +makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev karchive-dev kcoreaddons-dev kconfig-dev kcrash-dev kdoctools-dev ki18n-dev kdbusaddons-dev ktextwidgets-dev kxmlgui-dev libkdegames-dev" +source="https://download.kde.org/stable/applications/$pkgver/src/kblackbox-$pkgver.tar.xz" +subpackages="$pkgname-doc $pkgname-lang" +options="!check" # No tests + +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="2ec6c30e4b58386db45baf44f072a5805563c85d3f30ab7ade222e4012f1c025c2f339436888f0b8b309e91e9ed744c7b3a5db76304837dba8f28d2f0780070d kblackbox-19.08.0.tar.xz" |