mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 18:17:16 +08:00
35 lines
725 B
Bash
35 lines
725 B
Bash
|
|
source ../kdeapps.conf
|
|
|
|
pkgname=kdev-php
|
|
pkgver=5.0.1
|
|
_pkgver=5.0.1
|
|
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=('e6593ee234825d660b8cf289446e447ec006b23c')
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake_kf5 ../${pkgname}-${pkgver}
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="$pkgdir" install
|
|
}
|