desktop/kdev-php/PKGBUILD
2017-11-15 13:29:03 +00:00

32 lines
757 B
Bash

# Include global configuration
source ../kdeapps.conf
pkgname=kdev-php
pkgver=$_kdevver
pkgrel=1
pkgdesc="PHP language and documentation plugin for KDevelop"
arch=(x86_64)
url="http://www.kdevelop.org/"
license=(GPL)
depends=(kdevelop threadweaver kcmutils knewstuff)
makedepends=(extra-cmake-modules kdoctools kdevelop-pg-qt python3)
source=("http://download.kde.org/stable/kdevelop/$pkgver/src/${pkgname}-$pkgver.tar.xz"{,.asc})
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
}