diff options
author | Bart Ribbers <bribbers@disroot.org> | 2019-09-04 11:48:57 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-09-04 08:37:10 -0300 |
commit | 2d5e394cd5129e01a41361eb8f15659e77f2ebdc (patch) | |
tree | 432528e5d472161e58de5d585cdd6414cb60070c /testing/granatier | |
parent | 9f8e38c5733465411afcd7dfd626fc66c3a2b271 (diff) | |
download | aports-2d5e394cd5129e01a41361eb8f15659e77f2ebdc.tar.bz2 aports-2d5e394cd5129e01a41361eb8f15659e77f2ebdc.tar.xz |
testing/granatier: new aport
Diffstat (limited to 'testing/granatier')
-rw-r--r-- | testing/granatier/APKBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/granatier/APKBUILD b/testing/granatier/APKBUILD new file mode 100644 index 0000000000..5d4f4f810a --- /dev/null +++ b/testing/granatier/APKBUILD @@ -0,0 +1,30 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=granatier +pkgver=19.08.0 +pkgrel=0 +arch="all" +url="https://kde.org/applications/games/org.kde.granatier" +pkgdesc="A clone of the classic Bomberman game" +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 kwidgetsaddons-dev kconfig-dev ki18n-dev kconfigwidgets-dev kxmlgui-dev knewstuff-dev kdoctools-dev libkdegames-dev" +source="https://download.kde.org/stable/applications/$pkgver/src/granatier-$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="069d76b3c466a7d13ab657acabd0088033933bb8fd9ed155a260fd2b26dbe44d8609d665059bb987ad9eb6db96d5452c1b72dc86428af6d278952764e676f67a granatier-19.08.0.tar.xz" |