2018-10-08 06:50:31 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
pkgname=kpimtextedit
|
2019-01-06 14:10:19 +00:00
|
|
|
pkgver=18.12.0
|
2018-10-08 06:50:31 +00:00
|
|
|
pkgrel=0
|
|
|
|
pkgdesc="Advanced text editor which provide advanced html feature"
|
|
|
|
arch="all"
|
|
|
|
url="https://api.kde.org/kdepim/kpimtextedit/html"
|
|
|
|
license="LGPL-2.1"
|
|
|
|
depends=""
|
2019-01-06 14:10:19 +00:00
|
|
|
depends_dev="qt5-qtbase-dev qt5-qtspeech-dev grantlee-dev kcodecs-dev kconfig-dev kconfigwidgets-dev kemoticons-dev kiconthemes-dev kio-dev syntax-highlighting-dev"
|
2018-10-08 06:50:31 +00:00
|
|
|
makedepends="$depends_dev extra-cmake-modules"
|
|
|
|
source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
|
|
|
|
subpackages="$pkgname-dev"
|
|
|
|
options="!check" # Requires running X11 server
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|
2019-01-06 14:10:19 +00:00
|
|
|
sha512sums="72b3430844710f7b6840402f6e94798d5566e5b97dacaa246a097b85bafa31a02e293f930b183f565ac61a64f4353e885764094728098559afd5b7c5e288909f kpimtextedit-18.12.0.tar.xz"
|