[arch-commits] Commit in (4 files)

Andrea Scarpino andrea at nymeria.archlinux.org
Sat May 10 18:11:11 UTC 2014


    Date: Saturday, May 10, 2014 @ 20:11:11
  Author: andrea
Revision: 212194

Let's try to package KDE Frameworks 5

Added:
  extra-cmake-modules/
  extra-cmake-modules/repos/
  extra-cmake-modules/trunk/
  extra-cmake-modules/trunk/PKGBUILD

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

Added: extra-cmake-modules/trunk/PKGBUILD
===================================================================
--- extra-cmake-modules/trunk/PKGBUILD	                        (rev 0)
+++ extra-cmake-modules/trunk/PKGBUILD	2014-05-10 18:11:11 UTC (rev 212194)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=extra-cmake-modules
+pkgver=0.0.13
+_pkgver=4.99.0
+pkgrel=1
+pkgdesc='Extra CMake modules'
+arch=('any')
+url='https://projects.kde.org/projects/kdesupport/extra-cmake-modules'
+license=('LGPL')
+depends=('cmake')
+source=("http://download.kde.org/unstable/frameworks/${_pkgver}/${pkgname}-${pkgver}.tar.xz")
+md5sums=('c76fe1124e588fd518b2a2423aa64753')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../${pkgname}-${pkgver} \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=Release
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}




More information about the arch-commits mailing list