mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 15:04:36 +08:00
35 lines
812 B
Bash
35 lines
812 B
Bash
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/ktexteditor
|
|
source ../frameworks.conf
|
|
|
|
pkgname=ktexteditor
|
|
pkgver=${KFVersion}
|
|
pkgrel=1
|
|
pkgdesc='Advanced embeddable text editor'
|
|
arch=('x86_64')
|
|
url='https://projects.kde.org/projects/frameworks/ktexteditor'
|
|
license=('LGPL')
|
|
depends=('kparts' 'libgit2' 'syntax-highlighting')
|
|
makedepends=("extra-cmake-modules>=${KFECMVersion}")
|
|
groups=('kf5')
|
|
options=("debug")
|
|
source=("${KFServer}/${pkgname}-${pkgver}.tar.xz"{,.sig})
|
|
sha256sums=( $(getSum ${pkgname})
|
|
SKIP)
|
|
validpgpkeys=( ${KFvalidpgpkeys[@]} )
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
cd ${pkgname}-${pkgver}
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake_kf5 ../${pkgname}-${pkgver}
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|