[arch-commits] Commit in kdevplatform (3 files)

Antonio Rojas arojas at archlinux.org
Fri Oct 23 19:40:58 UTC 2015


    Date: Friday, October 23, 2015 @ 21:40:58
  Author: arojas
Revision: 249698

kdevelop 5.0 beta 1

Added:
  kdevplatform/kde-unstable/
  kdevplatform/kde-unstable/PKGBUILD
  kdevplatform/kde-unstable/kdevplatform.install

----------------------+
 PKGBUILD             |   36 ++++++++++++++++++++++++++++++++++++
 kdevplatform.install |   11 +++++++++++
 2 files changed, 47 insertions(+)

Added: kde-unstable/PKGBUILD
===================================================================
--- kde-unstable/PKGBUILD	                        (rev 0)
+++ kde-unstable/PKGBUILD	2015-10-23 19:40:58 UTC (rev 249698)
@@ -0,0 +1,36 @@
+# $Id: PKGBUILD 248913 2015-10-12 10:00:30Z arojas $
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+
+pkgname=kdevplatform
+pkgver=4.90.90
+pkgrel=1
+pkgdesc='A C/C++ development platform for KDE'
+arch=(i686 x86_64)
+url='http://www.kdevelop.org/'
+license=(GPL)
+depends=(grantlee-qt5 hicolor-icon-theme kcmutils threadweaver kitemmodels ktexteditor knotifyconfig knewstuff libkomparediff2 qt5-quick1)
+makedepends=(extra-cmake-modules boost subversion)
+optdepends=('subversion: Subversion plugin')
+install="$pkgname.install"
+source=("http://download.kde.org/unstable/kdevelop/$pkgver/src/$pkgname-$pkgver.tar.xz")
+sha1sums=('0231764f5c8f41bb69dae7aa780a531e584103e2')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DBUILD_TESTING=OFF \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}

Added: kde-unstable/kdevplatform.install
===================================================================
--- kde-unstable/kdevplatform.install	                        (rev 0)
+++ kde-unstable/kdevplatform.install	2015-10-23 19:40:58 UTC (rev 249698)
@@ -0,0 +1,11 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}



More information about the arch-commits mailing list