[arch-commits] Commit in cmake-fedora/repos (2 files)
Antonio Rojas
arojas at archlinux.org
Tue May 1 08:15:37 UTC 2018
Date: Tuesday, May 1, 2018 @ 08:15:37
Author: arojas
Revision: 318559
archrelease: copy trunk to community-staging-any
Added:
cmake-fedora/repos/community-staging-any/
cmake-fedora/repos/community-staging-any/PKGBUILD
(from rev 318558, cmake-fedora/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: cmake-fedora/repos/community-staging-any/PKGBUILD (from rev 318558, cmake-fedora/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2018-05-01 08:15:37 UTC (rev 318559)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=cmake-fedora
+pkgver=2.9.2
+pkgrel=4
+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.11}
+
+ install -d -m755 "$pkgdir"/usr/share/licenses/cmake-fedora
+ ln -s ../../doc/cmake-fedora/COPYING "$pkgdir"/usr/share/licenses/cmake-fedora/COPYING
+}
More information about the arch-commits
mailing list