pmaports/kde/ktexteditor/APKBUILD

33 lines
905 B
Text
Raw Normal View History

pkgname=ktexteditor
pkgver=5.36.0
pkgrel=1
pkgdesc='Advanced embeddable text editor'
arch="all"
url='https://community.kde.org/Frameworks'
license="LGPL"
depends="libgit2"
makedepends="extra-cmake-modules python doxygen qt5-qttools-dev qt5-qtxmlpatterns-dev syntax-highlighting kparts"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
subpackages="$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 \
-DBUILD_TESTING=OFF \
-DBUILD_QCH=ON
make
}
package() {
cd $srcdir/build
make DESTDIR="${pkgdir}" install
}
sha512sums="3f5a7b44eda5cc97cd5f3a365d3240344203d7bf4033317e70ad4aca5e988f882b0f624d4282a9fc33028d3ffc291239f5089e604a90f36a493262722d5beb40 ktexteditor-5.36.0.tar.xz"