diff options
author | Bart Ribbers <bribbers@disroot.org> | 2019-09-04 12:03:17 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-09-04 08:40:26 -0300 |
commit | e4270fac2a041dde11858d05039c9dadf511946e (patch) | |
tree | eeb5f71913824e6b451f6a4e7b2fed6ab54e4a99 /testing/libkmahjongg | |
parent | 79f4a15611fe5e335eb1830e4a8872cea7a54ba3 (diff) | |
download | aports-e4270fac2a041dde11858d05039c9dadf511946e.tar.bz2 aports-e4270fac2a041dde11858d05039c9dadf511946e.tar.xz |
testing/libkmahjongg: new aport
Diffstat (limited to 'testing/libkmahjongg')
-rw-r--r-- | testing/libkmahjongg/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/libkmahjongg/APKBUILD b/testing/libkmahjongg/APKBUILD new file mode 100644 index 0000000000..6e21ecf078 --- /dev/null +++ b/testing/libkmahjongg/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=libkmahjongg +pkgver=19.08.0 +pkgrel=0 +arch="all" +url="https://kde.org/applications/games" +pkgdesc="Common code, backgrounds and tile sets for games using Mahjongg tiles" +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 kconfigwidgets-dev kwidgetsaddons-dev kcompletion-dev ki18n-dev" +source="https://download.kde.org/stable/applications/$pkgver/src/libkmahjongg-$pkgver.tar.xz" +subpackages="$pkgname-dev $pkgname-lang" +options="!check" # No tests found + +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="8926e885a0792dc1c0604e0415db9fb02a7e18ddfdd054f56ceb606af6e41b3289f1d9d39aeddd02b95af6614997094c99e2b9c7380e9cdf1415d743c85d527b libkmahjongg-19.08.0.tar.xz" |