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

Felix Yan fyan at archlinux.org
Wed Mar 16 04:19:42 UTC 2016


    Date: Wednesday, March 16, 2016 @ 05:19:42
  Author: fyan
Revision: 261691

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 261690, extra-cmake-modules/trunk/PKGBUILD)

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

Copied: extra-cmake-modules/repos/kde-unstable-any/PKGBUILD (from rev 261690, extra-cmake-modules/trunk/PKGBUILD)
===================================================================
--- kde-unstable-any/PKGBUILD	                        (rev 0)
+++ kde-unstable-any/PKGBUILD	2016-03-16 04:19:42 UTC (rev 261691)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=extra-cmake-modules
+pkgver=5.20.0
+pkgrel=1
+pkgdesc='Extra modules and scripts for CMake'
+arch=('any')
+url='https://projects.kde.org/projects/kdesupport/extra-cmake-modules'
+license=('LGPL')
+depends=('cmake')
+makedepends=('python-sphinx') # qt5-tools for QtHelp pages
+source=("http://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz")
+md5sums=('1b2e1a6416f47c3d8b5e1a8bc4680570')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../${pkgname}-${pkgver} \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_HTML_DOCS=OFF \
+    -DBUILD_TESTING=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}



More information about the arch-commits mailing list