[arch-commits] Commit in kdevelop-php (kde-unstable trunk/PKGBUILD)

Antonio Rojas arojas at archlinux.org
Tue Aug 30 15:31:43 UTC 2016


    Date: Tuesday, August 30, 2016 @ 15:31:42
  Author: arojas
Revision: 275305

Update to 5.0

Modified:
  kdevelop-php/trunk/PKGBUILD
Deleted:
  kdevelop-php/kde-unstable/

----------+
 PKGBUILD |   45 +++++++++++++++------------------------------
 1 file changed, 15 insertions(+), 30 deletions(-)

Modified: trunk/PKGBUILD
===================================================================
--- trunk/PKGBUILD	2016-08-30 15:26:51 UTC (rev 275304)
+++ trunk/PKGBUILD	2016-08-30 15:31:42 UTC (rev 275305)
@@ -1,49 +1,34 @@
 # $Id$
-# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
 
 pkgname=kdevelop-php
-pkgver=1.7.3
-_pkgver=4.7.3
+pkgver=5.0
 pkgrel=1
 pkgdesc="PHP language and documentation plugin for KDevelop"
-arch=('i686' 'x86_64')
+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.bz2)
-sha1sums=('e518207915a290e312f21ed13bead83d98f54c27'
-          '3514116a25775d39650a5dbf4fd495abda042f40')
+license=(GPL)
+depends=(kdevelop)
+makedepends=(extra-cmake-modules kdoctools kdevelop-pg-qt python)
+source=(http://download.kde.org/stable/kdevelop/${pkgver}.0/src/kdev-php-$pkgver.tar.xz)
+sha1sums=('4456c9f26f019031951b3787dd42a06f7f979e16')
 
 prepare() {
-  mkdir build
-  mkdir build-docs
+  mkdir -p build
 }
 
 build() {
   cd build
-  cmake ../${pkgname}-${pkgver} \
+  cmake ../kdev-php-$pkgver \
     -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DBUILD_TESTING=OFF
   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
+  make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list