mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
37 lines
896 B
Bash
37 lines
896 B
Bash
#
|
|
# Apps Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=kdevelop-php-docs
|
|
pkgver=1.0.2
|
|
_pkgver=4.0.2
|
|
pkgrel=1
|
|
pkgdesc="PHP docs plugin for Kdevelop"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.kdevelop.org/"
|
|
license=('GPL')
|
|
depends=("kdevelop-php=${pkgver}")
|
|
makedepends=('cmake' 'automoc4')
|
|
source=("http://download.kde.org/stable/kdevelop/${_pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
|
|
md5sums=('58bfb8b2afda44621371659fbd4b6553')
|
|
|
|
build() {
|
|
cd ${srcdir}
|
|
mkdir build
|
|
cd build
|
|
cmake ../${pkgname}-${pkgver} \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=Release
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/build
|
|
make DESTDIR=${pkgdir} install
|
|
}
|