[arch-commits] Commit in kdevelop-pg-qt (3 files)

Antonio Rojas arojas at archlinux.org
Tue Aug 30 14:42:58 UTC 2016


    Date: Tuesday, August 30, 2016 @ 14:42:57
  Author: arojas
Revision: 275288

Update to 2.0

Added:
  kdevelop-pg-qt/trunk/kde-unstable/
Modified:
  kdevelop-pg-qt/trunk/PKGBUILD
Deleted:
  kdevelop-pg-qt/kde-unstable/

----------+
 PKGBUILD |   31 ++++++++++++++-----------------
 1 file changed, 14 insertions(+), 17 deletions(-)

Modified: trunk/PKGBUILD
===================================================================
--- trunk/PKGBUILD	2016-08-30 14:37:14 UTC (rev 275287)
+++ trunk/PKGBUILD	2016-08-30 14:42:57 UTC (rev 275288)
@@ -1,31 +1,28 @@
 # $Id$
-# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
 
 pkgname=kdevelop-pg-qt
-pkgver=1.0.0
-pkgrel=4
+pkgver=2.0
+pkgrel=1
 pkgdesc="KDevelop Parser Generator, a LL(1) parser generator used by KDevelop language plugins"
-arch=('i686' 'x86_64')
+arch=(i686 x86_64)
 url="http://www.kdevelop.org/"
-license=('GPL')
-depends=('kdelibs')
-makedepends=('cmake' 'automoc4')
-source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2"
-        'fix-build.patch')
-sha1sums=('468bc91c5be16061dc265e9471f75462b32b73d5'
-          '9e085b24a89cf7f1c986dcc1fa16d23968c20882')
+license=(GPL)
+depends=(qt5-base)
+makedepends=(extra-cmake-modules)
+source=("http://download.kde.org/stable/$pkgname/${pkgver}.0/src/$pkgname-$pkgver.tar.xz")
+sha1sums=('021cbe910468f4ae5169b8ff8933562c5e7dbe5f')
 
 prepare() {
-  mkdir build
-
-  cd ${pkgname}-${pkgver}
-  patch -p1 -i "${srcdir}"/fix-build.patch
+  mkdir -p build
 }
 
 build() {
   cd build
-  cmake ../${pkgname}-${pkgver} \
+  cmake ../$pkgname-$pkgver \
     -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
     -DCMAKE_BUILD_TYPE=Release
   make
 }
@@ -32,5 +29,5 @@
 
 package() {
   cd build
-  make DESTDIR="${pkgdir}" install
+  make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list