aboutsummaryrefslogtreecommitdiffstats
path: root/community/bovo/APKBUILD
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-04-12 20:07:52 +0200
committerAriadne Conill <ariadne@dereferenced.org>2020-04-12 23:39:54 +0000
commit4fb2b2eed5f1e0660f3150c7e81e467ac162919a (patch)
treef6b3995be7a5913a85e944dab0dbe424469ead0d /community/bovo/APKBUILD
parentc423b612746311fb11f7ea87f549205a834eb0e3 (diff)
downloadaports-4fb2b2eed5f1e0660f3150c7e81e467ac162919a.tar.gz
aports-4fb2b2eed5f1e0660f3150c7e81e467ac162919a.tar.bz2
aports-4fb2b2eed5f1e0660f3150c7e81e467ac162919a.tar.xz
community/bovo: move from testing
Diffstat (limited to 'community/bovo/APKBUILD')
-rw-r--r--community/bovo/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/community/bovo/APKBUILD b/community/bovo/APKBUILD
new file mode 100644
index 0000000000..c7669e25d0
--- /dev/null
+++ b/community/bovo/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=bovo
+pkgver=19.12.3
+pkgrel=0
+pkgdesc="A Gomoku like game for two players"
+arch="all !armhf" # armhf blocked by extra-cmake-modules
+url="https://kde.org/applications/games/org.kde.bovo"
+license="GPL-2.0-or-later AND GFDL-1.2-only"
+makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev kcoreaddons-dev kcrash-dev kdbusaddons-dev kdoctools-dev kxmlgui-dev libkdegames-dev"
+source="https://download.kde.org/stable/release-service/$pkgver/src/bovo-$pkgver.tar.xz"
+subpackages="$pkgname-doc $pkgname-lang"
+
+build() {
+ cmake -B build \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib
+ make -C build
+}
+
+check() {
+ cd build
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ DESTDIR="$pkgdir" make -C build install
+}
+
+sha512sums="a2b13a7e59c39188b642c7c5d43b071a7702cd770497ffef5f0f4b44d8b6117c3aa61e0e7d8db3fcf4c9f8db72d1a57c7cb4afc5831d13eb56aa723b35763855 bovo-19.12.3.tar.xz"