diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-12-12 01:42:03 -0600 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-12-12 01:42:03 -0600 |
commit | 50594963aed6401c9e4c8ee255a57f82c07e1e61 (patch) | |
tree | 73f3b3d759dce58d47ce15ddc0cbf0fdfef936e8 /user/ksystemlog/APKBUILD | |
parent | 596860c30a1e339a9bfb790a7bc21eb12876cfa7 (diff) | |
download | packages-50594963aed6401c9e4c8ee255a57f82c07e1e61.tar.gz packages-50594963aed6401c9e4c8ee255a57f82c07e1e61.tar.bz2 packages-50594963aed6401c9e4c8ee255a57f82c07e1e61.tar.xz packages-50594963aed6401c9e4c8ee255a57f82c07e1e61.zip |
user/ksystemlog: new package
Diffstat (limited to 'user/ksystemlog/APKBUILD')
-rw-r--r-- | user/ksystemlog/APKBUILD | 45 |
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" |