summaryrefslogtreecommitdiff
path: root/user/blinken/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-03-25 15:33:15 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-03-25 15:33:15 -0500
commit46d6c75f081981fbeef723f92842b23e3d0c9d26 (patch)
treec17d24070c94ec79a0ad83eb0485fd62afef53f3 /user/blinken/APKBUILD
parent8a18effc7588f88611e44e62368516fc1387889b (diff)
downloadpackages-46d6c75f081981fbeef723f92842b23e3d0c9d26.tar.gz
packages-46d6c75f081981fbeef723f92842b23e3d0c9d26.tar.bz2
packages-46d6c75f081981fbeef723f92842b23e3d0c9d26.tar.xz
packages-46d6c75f081981fbeef723f92842b23e3d0c9d26.zip
user/blinken: new package
Diffstat (limited to 'user/blinken/APKBUILD')
-rw-r--r--user/blinken/APKBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/user/blinken/APKBUILD b/user/blinken/APKBUILD
new file mode 100644
index 000000000..851889c49
--- /dev/null
+++ b/user/blinken/APKBUILD
@@ -0,0 +1,44 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=blinken
+pkgver=17.12.2
+pkgrel=0
+pkgdesc="Memory enhancement game"
+url="https://www.kde.org/applications/education/blinken/"
+arch="all"
+license="GPL-2.0-only"
+depends=""
+makedepends="cmake extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev ki18n-dev
+ kxmlgui-dev kguiaddons-dev kdoctools-dev kdbusaddons-dev kcrash-dev
+ phonon-dev"
+install=""
+subpackages="$pkgname-doc $pkgname-lang"
+source="http://download.kde.org/stable/applications/$pkgver/src/blinken-$pkgver.tar.xz"
+
+build() {
+ cd "$builddir"
+ 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}
+ make
+}
+
+check() {
+ cd "$builddir"
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="a09b23b2cc91513c2cbabbdb94b2d45aa987f21d5f135f3f878163d3ee9211eab6a2c26d7e0c979122b6361df7b8f9147f457432bb3a6277eb1e513b1c811dbc blinken-17.12.2.tar.xz"