[arch-commits] Commit in kdevelop-php/repos (4 files)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Tue Dec 8 18:18:38 UTC 2015
Date: Tuesday, December 8, 2015 @ 19:18:38
Author: bpiotrowski
Revision: 253998
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
kdevelop-php/repos/staging-i686/
kdevelop-php/repos/staging-i686/PKGBUILD
(from rev 253997, kdevelop-php/trunk/PKGBUILD)
kdevelop-php/repos/staging-x86_64/
kdevelop-php/repos/staging-x86_64/PKGBUILD
(from rev 253997, kdevelop-php/trunk/PKGBUILD)
-------------------------+
staging-i686/PKGBUILD | 49 ++++++++++++++++++++++++++++++++++++++++++++++
staging-x86_64/PKGBUILD | 49 ++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 98 insertions(+)
Copied: kdevelop-php/repos/staging-i686/PKGBUILD (from rev 253997, kdevelop-php/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2015-12-08 18:18:38 UTC (rev 253998)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdevelop-php
+pkgver=1.7.2
+_pkgver=4.7.2
+pkgrel=2
+pkgdesc="PHP language and documentation plugin for KDevelop"
+arch=('i686' 'x86_64')
+url="http://www.kdevelop.org/"
+license=('GPL')
+depends=('kdevelop')
+makedepends=('cmake' 'automoc4' 'kdevelop-pg-qt')
+replaces=('kdevelop-php-docs')
+conflicts=('kdevelop-php-docs')
+source=(http://download.kde.org/stable/kdevelop/${_pkgver}/src/${pkgname}-{,docs-}${pkgver}.tar.xz)
+sha1sums=('efdc58214b8c1eb32b4bbd827dc6d6e942355c9c'
+ '989e857d40fb16cb3ac207fab73fb024a94d7554')
+
+prepare() {
+ mkdir build
+ mkdir build-docs
+}
+
+build() {
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release
+ make
+ cd ../
+
+ # kdevelop-php-docs
+ cd build-docs
+ cmake ../${pkgname}-docs-${pkgver} \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+ cd ../
+
+ # kdevelop-php-docs
+ cd build-docs
+ make DESTDIR="${pkgdir}" install
+}
Copied: kdevelop-php/repos/staging-x86_64/PKGBUILD (from rev 253997, kdevelop-php/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-12-08 18:18:38 UTC (rev 253998)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdevelop-php
+pkgver=1.7.2
+_pkgver=4.7.2
+pkgrel=2
+pkgdesc="PHP language and documentation plugin for KDevelop"
+arch=('i686' 'x86_64')
+url="http://www.kdevelop.org/"
+license=('GPL')
+depends=('kdevelop')
+makedepends=('cmake' 'automoc4' 'kdevelop-pg-qt')
+replaces=('kdevelop-php-docs')
+conflicts=('kdevelop-php-docs')
+source=(http://download.kde.org/stable/kdevelop/${_pkgver}/src/${pkgname}-{,docs-}${pkgver}.tar.xz)
+sha1sums=('efdc58214b8c1eb32b4bbd827dc6d6e942355c9c'
+ '989e857d40fb16cb3ac207fab73fb024a94d7554')
+
+prepare() {
+ mkdir build
+ mkdir build-docs
+}
+
+build() {
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release
+ make
+ cd ../
+
+ # kdevelop-php-docs
+ cd build-docs
+ cmake ../${pkgname}-docs-${pkgver} \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+ cd ../
+
+ # kdevelop-php-docs
+ cd build-docs
+ make DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list