PKGBUILD 812 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}
6
pkgrel=1
Xuetian Weng's avatar
Xuetian Weng committed
7 8 9 10
pkgdesc='Advanced embeddable text editor'
arch=('x86_64')
url='https://projects.kde.org/projects/frameworks/ktexteditor'
license=('LGPL')
AlmAck's avatar
AlmAck committed
11
depends=('kparts' 'libgit2' 'syntax-highlighting')
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 17
source=("${KFServer}/${pkgname}-${pkgver}.tar.xz"{,.sig})
sha256sums=( $(getSum ${pkgname})
                        SKIP)
AlmAck's avatar
AlmAck committed
18
validpgpkeys=( ${KFvalidpgpkeys[@]} )
Xuetian Weng's avatar
Xuetian Weng committed
19 20 21

prepare() {
  mkdir -p build
22
  cd ${pkgname}-${pkgver}
Xuetian Weng's avatar
Xuetian Weng committed
23 24 25 26
}

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

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