pmaports/kde/attica-qt/APKBUILD
Bart Ribbers 5b0c90e31e Update KDE Frameworks to 5.42.0 (#1164)
Fixes #979: Top drawer and background missing on first boot
2018-01-24 23:23:36 +00:00

35 lines
1,003 B
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=attica-qt
pkgver=5.42.0
pkgrel=0
arch="all"
pkgdesc='Qt5 library that implements the Open Collaboration Services API'
url='https://community.kde.org/Frameworks'
license="LGPL-2.1"
depends=""
depends_dev="qt5-qtbase-dev"
makedepends="$depends_dev extra-cmake-modules doxygen qt5-qttools-dev"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/attica-${pkgver}.tar.xz"
subpackages="$pkgname-dev $pkgname-doc"
builddir="$srcdir/${pkgname/-qt/}-$pkgver"
build() {
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DKDE_INSTALL_LIBDIR=lib \
-DBUILD_QCH=ON
make
}
check() {
cd "$builddir"
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
cd "$builddir"
make DESTDIR="${pkgdir}" install
}
sha512sums="289fa868e0c79b2075d1c60472fcab21315cf5fb1ae48b28475a13492967fdef38a25f037ff63e4e66bd18da7bf1f618a4a838d36fbe6b47523a4c58d46a017e attica-5.42.0.tar.xz"