Date: Sunday, August 14, 2016 @ 15:37:37 Author: felixonmars Revision: 273666
archrelease: copy trunk to testing-any Added: extra-cmake-modules/repos/testing-any/ extra-cmake-modules/repos/testing-any/PKGBUILD (from rev 273665, extra-cmake-modules/trunk/PKGBUILD) ----------+ PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) Copied: extra-cmake-modules/repos/testing-any/PKGBUILD (from rev 273665, extra-cmake-modules/trunk/PKGBUILD) =================================================================== --- testing-any/PKGBUILD (rev 0) +++ testing-any/PKGBUILD 2016-08-14 15:37:37 UTC (rev 273666) @@ -0,0 +1,34 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=extra-cmake-modules +pkgver=5.25.0 +pkgrel=1 +pkgdesc='Extra modules and scripts for CMake' +arch=('any') +url='https://community.kde.org/Frameworks' +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=('043c08482bf7cf951e18d32e16238fb4') + +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 +}