[arch-commits] Commit in (4 files)

Andrea Scarpino andrea at nymeria.archlinux.org
Wed May 14 07:03:23 UTC 2014


    Date: Wednesday, May 14, 2014 @ 09:03:23
  Author: andrea
Revision: 212376

Let's try to package KDE Frameworks 5

Added:
  kitemmodels/
  kitemmodels/repos/
  kitemmodels/trunk/
  kitemmodels/trunk/PKGBUILD

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Added: kitemmodels/trunk/PKGBUILD
===================================================================
--- kitemmodels/trunk/PKGBUILD	                        (rev 0)
+++ kitemmodels/trunk/PKGBUILD	2014-05-14 07:03:23 UTC (rev 212376)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kitemmodels
+pkgver=4.99.0
+pkgrel=1
+pkgdesc='KItemModels'
+arch=('i686' 'x86_64')
+url='https://projects.kde.org/projects/frameworks/kitemmodels'
+license=('LGPL')
+depends=('qt5-base')
+makedepends=('extra-cmake-modules')
+groups=('kf5')
+source=("http://download.kde.org/unstable/frameworks/${pkgver}/${pkgname}-${pkgver}.tar.xz")
+md5sums=('f13395a3b649169d6177d70d3c6fbb28')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../${pkgname}-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DLIB_INSTALL_DIR=lib \
+    -DECM_MKSPECS_INSTALL_DIR=/usr/share/qt/mkspecs/modules \
+    -DBUILD_TESTING=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}


Property changes on: kitemmodels/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list