2017-08-03 20:14:04 +00:00
|
|
|
pkgname=ktextwidgets
|
2017-08-14 23:23:23 +00:00
|
|
|
pkgver=5.37.0
|
2017-08-03 20:14:04 +00:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc='Advanced text editing widgets'
|
|
|
|
arch="all"
|
|
|
|
url='https://community.kde.org/Frameworks'
|
|
|
|
license="LGPL"
|
|
|
|
depends="kcompletion kservice kiconthemes sonnet"
|
2017-08-17 16:19:36 +00:00
|
|
|
makedepends="extra-cmake-modules python doxygen qt5-qttools-dev kcompletion sonnet-dev kauth-dev
|
|
|
|
kiconthemes-dev kservice-dev kcompletion-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev
|
|
|
|
kcodecs-dev kwidgetsaddons-dev ki18n-dev kwindowsystem-dev"
|
2017-08-03 20:14:04 +00:00
|
|
|
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
|
2017-08-14 23:23:23 +00:00
|
|
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
|
2017-08-03 20:14:04 +00:00
|
|
|
|
|
|
|
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 \
|
|
|
|
-DBUILD_TESTING=OFF \
|
|
|
|
-DBUILD_QCH=ON
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $srcdir/build
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
}
|
2017-08-14 23:23:23 +00:00
|
|
|
sha512sums="f9004dc952705bd9e4f4859b1cbde3a9e64bea28f1578e93eda37c80e13b36c43473eb33e954365ab85b259486d929c406333c8cda59af5c3c8c119e70d0da7e ktextwidgets-5.37.0.tar.xz"
|