diff options
author | Bart Ribbers <bribbers@disroot.org> | 2019-09-04 12:07:22 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-09-04 08:38:53 -0300 |
commit | f4d61886c18a1c69e62684335f054b8a131db3ff (patch) | |
tree | d8f183acf8575025c8cdee0e1e8d94bfe06b755d /testing | |
parent | c25f3578419ab885380a9aee5390b13fad12e87c (diff) | |
download | aports-f4d61886c18a1c69e62684335f054b8a131db3ff.tar.bz2 aports-f4d61886c18a1c69e62684335f054b8a131db3ff.tar.xz |
testing/kapman: new aport
Diffstat (limited to 'testing')
-rw-r--r-- | testing/kapman/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/kapman/APKBUILD b/testing/kapman/APKBUILD new file mode 100644 index 0000000000..6f7b3fa2c9 --- /dev/null +++ b/testing/kapman/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=kapman +pkgver=19.08.0 +pkgrel=0 +arch="all" +url="https://kde.org/applications/games/org.kde.kapman" +pkgdesc="A clone of the well known game Pac-Man" +license="GPL-2.0-or-later AND GFDL-1.2-only" +makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev kcoreaddons-dev kconfig-dev kcrash-dev kdbusaddons-dev kdoctools-dev kconfig-dev ki18n-dev kconfigwidgets-dev kxmlgui-dev libkdegames-dev" +source="https://download.kde.org/stable/applications/$pkgver/src/kapman-$pkgver.tar.xz" +subpackages="$pkgname-doc $pkgname-lang" +option="!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="82ad6875c0b15376033a5afc52f6d566707de669f78e956fa2deb975f5f0b073ced58cb46c08c93f8b05868f1438b7ac4ed74aa4522af63cf8fb32f105b2af2c kapman-19.08.0.tar.xz" |