diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-07-18 20:43:33 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-07-18 20:43:33 +0000 |
commit | 59d111b4f7507658ded5512ec5c1817bfe2e69b6 (patch) | |
tree | 91163a5df48cca5eefabbbdf8a773be3edd2a356 /user/picmi | |
parent | d3c37ea7452c35effee445704f0fb556d3d80cb5 (diff) | |
download | packages-59d111b4f7507658ded5512ec5c1817bfe2e69b6.tar.gz packages-59d111b4f7507658ded5512ec5c1817bfe2e69b6.tar.bz2 packages-59d111b4f7507658ded5512ec5c1817bfe2e69b6.tar.xz packages-59d111b4f7507658ded5512ec5c1817bfe2e69b6.zip |
user/picmi: New package
Diffstat (limited to 'user/picmi')
-rw-r--r-- | user/picmi/APKBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/user/picmi/APKBUILD b/user/picmi/APKBUILD new file mode 100644 index 000000000..951b92ec4 --- /dev/null +++ b/user/picmi/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=picmi +pkgver=20.04.3 +pkgrel=0 +pkgdesc="Single-player logic/pattern game" +url="https://kde.org/applications/games/org.kde.picmi" +arch="all" +license="GPL-2.0+" +depends="" +makedepends="qt5-qtbase-dev qt5-qtsvg-dev cmake extra-cmake-modules + qt5-qtdeclarative-dev kcoreaddons-dev kcrash-dev kdbusaddons-dev + kdeclarative-dev kdoctools-dev ki18n-dev kio-dev knewstuff-dev + kxmlgui-dev libkdegames-dev" +subpackages="$pkgname-doc $pkgname-lang" +source="https://download.kde.org/stable/release-service/$pkgver/src/picmi-$pkgver.tar.xz" + +build() { + if [ "$CBUILD" != "$CHOST" ]; then + CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux" + fi + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_SHARED_LIBS=True \ + -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ + -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ + -DCMAKE_C_FLAGS="$CFLAGS" \ + ${CMAKE_CROSSOPTS} \ + -Bbuild . + make -C build +} + +check() { + CTEST_OUTPUT_ON_FAILURE=TRUE make -C build test +} + +package() { + make DESTDIR="$pkgdir" -C build install +} + +sha512sums="d64b73880fcee4ec7f98d70787e7418da9df30eb26f3f136da8773d75589a44e0508c4e5a26d33d7e59e8b56bf2502a44553d0872ce5797b01dcbb03049e7def picmi-20.04.3.tar.xz" |