From 50594963aed6401c9e4c8ee255a57f82c07e1e61 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Tue, 12 Dec 2017 01:42:03 -0600 Subject: user/ksystemlog: new package --- user/ksystemlog/APKBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 user/ksystemlog/APKBUILD (limited to 'user/ksystemlog') 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 +# Maintainer: A. Wilcox +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" -- cgit v1.2.3-70-g09d2