core/ktexteditor/PKGBUILD

37 lines
890 B
Bash
Raw Normal View History

# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/ktexteditor
2014-11-15 06:35:29 +08:00
source ../frameworks.conf
pkgname=ktexteditor
pkgver=${KFVersion}
pkgrel=2
2014-11-15 06:35:29 +08:00
pkgdesc='Advanced embeddable text editor'
arch=('x86_64')
url='https://projects.kde.org/projects/frameworks/ktexteditor'
license=('LGPL')
depends=('kparts' 'libgit2')
2014-11-15 06:49:31 +08:00
makedepends=("extra-cmake-modules>=${KFECMVersion}")
2014-11-15 06:35:29 +08:00
groups=('kf5')
options=("debug")
source=("${KFServer}/${pkgname}-${pkgver}.tar.xz"
'pkgbuild-syntax-highlight.patch')
sha256sums=( $(getSum ${pkgname})
'7d898e9aeb8faa7d6ea2e9c4b288d895261645aa6856ca56b7c03ee3caa93cdc')
2014-11-15 06:35:29 +08:00
prepare() {
mkdir -p build
2015-11-14 05:47:05 +08:00
cd ${pkgname}-${pkgver}
patch -p0 -i "${srcdir}"/pkgbuild-syntax-highlight.patch
2014-11-15 06:35:29 +08:00
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver}
2014-11-15 06:35:29 +08:00
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}