PKGBUILD 690 Bytes
Newer Older
1
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/ktexteditor
Xuetian Weng's avatar
Xuetian Weng committed
2 3 4 5
source ../frameworks.conf

pkgname=ktexteditor
pkgver=${KFVersion}
AlmAck's avatar
AlmAck committed
6
pkgrel=1
Xuetian Weng's avatar
Xuetian Weng committed
7 8 9 10 11
pkgdesc='Advanced embeddable text editor'
arch=('x86_64')
url='https://projects.kde.org/projects/frameworks/ktexteditor'
license=('LGPL')
depends=('kparts' 'libgit2')
Xuetian Weng's avatar
Xuetian Weng committed
12
makedepends=("extra-cmake-modules>=${KFECMVersion}")
Xuetian Weng's avatar
Xuetian Weng committed
13 14
groups=('kf5')
options=("debug")
AlmAck's avatar
AlmAck committed
15 16
source=("${KFServer}/${pkgname}-${pkgver}.tar.xz")
sha256sums=( $(getSum ${pkgname}))
Xuetian Weng's avatar
Xuetian Weng committed
17 18 19 20 21 22 23

prepare() {
  mkdir -p build
}

build() {
  cd build
24
  cmake_kf5 ../${pkgname}-${pkgver} 
Xuetian Weng's avatar
Xuetian Weng committed
25 26 27 28 29 30 31
  make
}

package() {
  cd build
  make DESTDIR="${pkgdir}" install
}