pmaports/kde/kio/APKBUILD
PureTryOut 689b8e4fec Added all missing makedepends, and removed some optional dependencies (#398)
* Added all missing makedepends, and removed some optional dependencies
* Made dbus-nox11-libs properly replace dbus-x11
* Add missing breeze-dev subpackage
2017-08-17 16:19:36 +00:00

37 lines
1.3 KiB
Text

pkgname=kio
pkgver=5.37.0
pkgrel=1
pkgdesc='Resource and network access abstraction'
arch="all"
url='https://community.kde.org/Frameworks'
license="LGPL"
depends="solid kjobwidgets libxslt desktop-file-utils knotifications"
makedepends="extra-cmake-modules kdoctools python doxygen qt5-qttools-dev kconfig-dev kdbusaddons-dev
kservice-dev solid-dev kbookmarks-dev kjobwidgets-dev knotifications-dev karchive-dev
kcoreaddons-dev ki18n-dev kwidgetsaddons-dev kcompletion-dev kconfigwidgets-dev
kauth-dev kcodecs-dev kiconthemes-dev kitemviews-dev kwindowsystem-dev qt5-x11extras-dev
kxmlgui-dev ktextwidgets-dev sonnet-dev"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
prepare() {
mkdir -p "$srcdir"/build
}
build() {
cd "$srcdir"/build
cmake "$srcdir"/${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DKDE_INSTALL_LIBDIR=lib \
-DKDE_INSTALL_LIBEXECDIR=lib \
-DBUILD_TESTING=OFF \
-DBUILD_QCH=ON
make
}
package() {
cd "$srcdir"/build
make DESTDIR="${pkgdir}" install
}
sha512sums="42b2cbf6cbc414a0b69fdb36984d13574b1aee033170761dc55835cace44abead82f387f8afb35d8a82ee93a1909854ef43cff29d45c5881c4b13ca8862d2a64 kio-5.37.0.tar.xz"