[arch-commits] Commit in extra-cmake-modules/repos (2 files)

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


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

archrelease: copy trunk to kde-unstable-any

Added:
  extra-cmake-modules/repos/kde-unstable-any/
  extra-cmake-modules/repos/kde-unstable-any/PKGBUILD
    (from rev 212194, extra-cmake-modules/trunk/PKGBUILD)

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

Copied: extra-cmake-modules/repos/kde-unstable-any/PKGBUILD (from rev 212194, extra-cmake-modules/trunk/PKGBUILD)
===================================================================
--- kde-unstable-any/PKGBUILD	                        (rev 0)
+++ kde-unstable-any/PKGBUILD	2014-05-10 18:11:28 UTC (rev 212195)
@@ -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