diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/kdevelop-php |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/kdevelop-php')
-rw-r--r-- | extra/kdevelop-php/PKGBUILD | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/extra/kdevelop-php/PKGBUILD b/extra/kdevelop-php/PKGBUILD new file mode 100644 index 000000000..554d08c5e --- /dev/null +++ b/extra/kdevelop-php/PKGBUILD @@ -0,0 +1,47 @@ +# $Id: PKGBUILD 112807 2011-03-06 23:51:20Z andrea $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> + +pkgname=kdevelop-php +pkgver=1.2.0 +_pkgver=4.2.0 +pkgrel=2 +pkgdesc="PHP language and documentation plugin for KDevelop/Quanta" +arch=('i686' 'x86_64') +url="http://www.kdevelop.org/" +license=('GPL') +depends=('kdevplatform' 'kdevelop-pg-qt') +makedepends=('cmake' 'automoc4') +replaces=('kdevelop-php-docs') +conflicts=('kdevelop-php-docs') +options=('!makeflags') +source=("http://download.kde.org/stable/kdevelop/${_pkgver}/src/${pkgname}-${pkgver}.tar.bz2" + "http://download.kde.org/stable/kdevelop/${_pkgver}/src/${pkgname}-docs-${pkgver}.tar.bz2") +md5sums=('fc48c194e7b87c9fd0850b2d7fc2a78b' + '5e7c3c33d9e0767bbf3b3df02147dfae') + +build() { + cd ${srcdir} + mkdir build + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release + make + + cd ${srcdir} + mkdir build-docs + cd build-docs + # kdevelop-php-docs + cmake ../${pkgname}-docs-${pkgver} \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release + make +} + +package() { + cd ${srcdir}/build + make DESTDIR=${pkgdir} install + + cd ${srcdir}/build-docs + make DESTDIR=${pkgdir} install +} |