[arch-commits] Commit in cmake-fedora/repos (2 files)
Antonio Rojas
arojas at archlinux.org
Fri Mar 20 12:57:43 UTC 2020
Date: Friday, March 20, 2020 @ 12:57:43
Author: arojas
Revision: 601598
archrelease: copy trunk to community-staging-any
Added:
cmake-fedora/repos/community-staging-any/
cmake-fedora/repos/community-staging-any/PKGBUILD
(from rev 601597, cmake-fedora/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: cmake-fedora/repos/community-staging-any/PKGBUILD (from rev 601597, cmake-fedora/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-03-20 12:57:43 UTC (rev 601598)
@@ -0,0 +1,28 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=cmake-fedora
+pkgver=2.9.2
+pkgrel=10
+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.17}
+
+ 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