[arch-commits] Commit in extra-cmake-modules/repos (testing-any testing-any/PKGBUILD)

Felix Yan fyan at archlinux.org
Sat Sep 12 00:27:38 UTC 2015


    Date: Saturday, September 12, 2015 @ 02:27:38
  Author: fyan
Revision: 245818

archrelease: copy trunk to testing-any

Added:
  extra-cmake-modules/repos/testing-any/
  extra-cmake-modules/repos/testing-any/PKGBUILD
    (from rev 245817, extra-cmake-modules/trunk/PKGBUILD)

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

Copied: extra-cmake-modules/repos/testing-any/PKGBUILD (from rev 245817, extra-cmake-modules/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2015-09-12 00:27:38 UTC (rev 245818)
@@ -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.14.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=('5c5db16c6038e63e7b741fa32e4eaddd')
+
+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