desktop/kdev-php/PKGBUILD

32 lines
717 B
Bash
Raw Normal View History

# Include global configuration
source ../kdeapps.conf
pkgname=kdev-php
pkgver=$_kdevver
pkgrel=2
pkgdesc="PHP language and documentation plugin for KDevelop"
2016-10-17 21:02:56 +08:00
arch=(x86_64)
url="http://www.kdevelop.org/"
license=(GPL)
depends=(kdevelop)
2016-10-17 21:02:56 +08:00
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
}