desktop/kdev-php/PKGBUILD
2016-08-25 07:13:07 +02:00

35 lines
723 B
Bash

source ../kdeapps.conf
pkgname=kdev-php
_pkgver=5.0.0
pkgver=5.0
pkgrel=1
pkgdesc="PHP language and documentation plugin for KDevelop"
arch=(i686 x86_64)
url="http://www.kdevelop.org/"
license=(GPL)
option=('debug')
depends=(kdevelop)
replaces=(kdevelop-php kdevelop-php-docs)
conflicts=(kdevelop-php kdevelop-php-docs)
provides=(kdevelop-php kdevelop-php-docs)
makedepends=(extra-cmake-modules kdoctools kdevelop-pg-qt)
source=(http://download.kde.org/stable/kdevelop/$_pkgver/src/${pkgname}-$pkgver.tar.xz)
sha1sums=('4456c9f26f019031951b3787dd42a06f7f979e16')
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
}