Date: Monday, August 14, 2017 @ 18:06:54 Author: felixonmars Revision: 250412
archrelease: copy trunk to community-staging-any Added: cmake-fedora/repos/community-staging-any/ cmake-fedora/repos/community-staging-any/PKGBUILD (from rev 250411, cmake-fedora/trunk/PKGBUILD) ----------+ PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) Copied: cmake-fedora/repos/community-staging-any/PKGBUILD (from rev 250411, cmake-fedora/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2017-08-14 18:06:54 UTC (rev 250412) @@ -0,0 +1,29 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=cmake-fedora +pkgver=2.9.2 +pkgrel=2 +pkgdesc='CMake helper modules for fedora developers' +arch=('any') +license=('custom:BSD') +url='https://pagure.io/cmake-fedora' +depends=('cmake') +source=("https://releases.pagure.org/cmake-fedora/cmake-fedora-$pkgver-Source.tar.gz") +sha512sums=('187637035c237c76ac53f859f142503437e7e45edcada918aedf76fae38ba1ddf2254ecd4c4ddc55e075f27e1e8fc11acd7fa45d106d4de507fa3ccc82b5c104') + +build() { + cd cmake-fedora-$pkgver-Source + cmake . -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd cmake-fedora-$pkgver-Source + make DESTDIR="$pkgdir" install + + mv "$pkgdir"/usr/share/cmake{,-3.9} + + install -d -m755 "$pkgdir"/usr/share/licenses/cmake-fedora + ln -s ../../doc/cmake-fedora/COPYING "$pkgdir"/usr/share/licenses/cmake-fedora/COPYING +}