diff options
Diffstat (limited to 'community/kinfocenter/APKBUILD')
-rw-r--r-- | community/kinfocenter/APKBUILD | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/community/kinfocenter/APKBUILD b/community/kinfocenter/APKBUILD index a455951c15..442b957f2a 100644 --- a/community/kinfocenter/APKBUILD +++ b/community/kinfocenter/APKBUILD @@ -1,18 +1,25 @@ # Contributor: Bart Ribbers <bribbers@disroot.org> # Maintainer: Bart Ribbers <bribbers@disroot.org> pkgname=kinfocenter -pkgver=5.16.5 +pkgver=5.17.0 pkgrel=0 pkgdesc="A utility that provides information about a computer system" arch="all" -url="https://www.kde.org/applications/system/kinfocenter/" +url="https://www.kde.org/applications/system/kinfocenter" license="(GPL-2.0-only OR GPL-3.0-only) AND (LGPL-2.1-only OR LGPL-3.0-only)" makedepends="extra-cmake-modules qt5-qtbase-dev kcompletion-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev kcrash-dev kdbusaddons-dev kdoctools-dev ki18n-dev kiconthemes-dev kcmutils-dev kio-dev kservice-dev solid-dev kwidgetsaddons-dev kwindowsystem-dev kxmlgui-dev kdeclarative-dev kpackage-dev solid-dev kwayland-dev glu-dev" -source="https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz" +source="https://download.kde.org/stable/plasma/$pkgver/kinfocenter-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" +prepare() { + default_prepare + + mkdir "$builddir"/build +} + build() { - cmake \ + cd "$builddir"/build + cmake "$builddir" \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib @@ -20,11 +27,13 @@ build() { } check() { + cd "$builddir"/build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { + cd "$builddir"/build DESTDIR="$pkgdir" make install } -sha512sums="1b98515beac87ff5394c06dd6029a2688db27a900f4c85fd4884d332a20120d553c25b98ae5ccfd7da2e6cbaa866edb84809f49c1c19922f25241acdc9e56832 kinfocenter-5.16.5.tar.xz" +sha512sums="6c112699952bfbdd5dabf2cfd9b14337942d326fdccb00fad6b68b7d40e071d4feb69bd4b417a35e30980bcc2b8619ce40b184c888dd4812cb19727e30921bf5 kinfocenter-5.17.0.tar.xz" |