# Include global configuration source ../kdeapps.conf pkgname=kdev-php pkgver=$_kdevver pkgrel=2 pkgdesc="PHP language and documentation plugin for KDevelop" arch=(x86_64) url="http://www.kdevelop.org/" license=(GPL) depends=(kdevelop) makedepends=(extra-cmake-modules kdoctools kdevelop-pg-qt) source=("http://download.kde.org/stable/kdevelop/$pkgver/src/${pkgname}-$pkgver.tar.xz"{,.sig}) sha256sums=("`grep ${pkgname}-${pkgver}.tar.xz ../kdevelop.checksums | cut -d " " -f1`" 'SKIP') validpgpkeys=('329FD02C5AA48FCC77A4BBF0AC44AC6DB29779E6') prepare() { mkdir -p build } build() { cd build cmake_kf5 ../${pkgname}-${pkgver} make } package() { cd build make DESTDIR="$pkgdir" install }