summaryrefslogtreecommitdiff
path: root/user/ksystemlog
diff options
context:
space:
mode:
Diffstat (limited to 'user/ksystemlog')
-rw-r--r--user/ksystemlog/APKBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/user/ksystemlog/APKBUILD b/user/ksystemlog/APKBUILD
new file mode 100644
index 000000000..95dd393cd
--- /dev/null
+++ b/user/ksystemlog/APKBUILD
@@ -0,0 +1,45 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=ksystemlog
+pkgver=17.08.2
+pkgrel=0
+pkgdesc="Friendly, powerful system log viewer tool"
+url="https://www.kde.org/applications/system/ksystemlog/"
+arch="all"
+license="GPL-2.0"
+depends=""
+makedepends="cmake extra-cmake-modules qt5-qtbase-dev kxmlgui-dev kconfig-dev
+ kcoreaddons-dev kwidgetsaddons-dev kitemviews-dev kio-dev karchive-dev
+ kdoctools-dev ki18n-dev kcompletion-dev ktextwidgets-dev"
+install=""
+subpackages="$pkgname-doc $pkgname-lang"
+source="http://download.kde.org/stable/applications/$pkgver/src/ksystemlog-$pkgver.tar.xz"
+builddir="$srcdir/ksystemlog-$pkgver"
+
+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="778f051f15464b4c52206e62914883f4ccc73d2daf3dc1b47f29c773618e23b4e52c2bd99a768250e20c4df278dcfa3c7ef29b1dae9aedd584ade2295d9c3c94 ksystemlog-17.08.2.tar.xz"