diff options
author | Bart Ribbers <bribbers@disroot.org> | 2019-09-04 12:11:06 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-09-04 08:38:25 -0300 |
commit | c25f3578419ab885380a9aee5390b13fad12e87c (patch) | |
tree | a736869a88ba48d8c868419e28268056de4a43ec /testing/katomic/APKBUILD | |
parent | 2d5e394cd5129e01a41361eb8f15659e77f2ebdc (diff) | |
download | aports-c25f3578419ab885380a9aee5390b13fad12e87c.tar.bz2 aports-c25f3578419ab885380a9aee5390b13fad12e87c.tar.xz |
testing/katomic: new aport
Diffstat (limited to 'testing/katomic/APKBUILD')
-rw-r--r-- | testing/katomic/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/katomic/APKBUILD b/testing/katomic/APKBUILD new file mode 100644 index 0000000000..13d508017a --- /dev/null +++ b/testing/katomic/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=katomic +pkgver=19.08.0 +pkgrel=0 +arch="all" +url="https://kde.org/applications/games/org.kde.katomic" +pkgdesc="A fun and educational game built around molecular geometry" +license="GPL-2.0-or-later AND GFDL-1.2-only" +makedepends="extra-cmake-modules qt5-qtbase-dev kcoreaddons-dev kconfig-dev kcrash-dev kwidgetsaddons-dev ki18n-dev kxmlgui-dev knewstuff-dev kdoctools-dev kdbusaddons-dev libkdegames-dev" +source="https://download.kde.org/stable/applications/$pkgver/src/katomic-$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="93dfa19358cc582857e18982144da887ba4369ab1413cec4a1a17cac673219b983ba16be4c78f60651590e42ef8b76a266ac72ea91c39e017f2201006518e301 katomic-19.08.0.tar.xz" |