[arch-commits] Commit in cmake-fedora/repos (2 files)
Antonio Rojas
arojas at archlinux.org
Thu Mar 14 21:59:57 UTC 2019
Date: Thursday, March 14, 2019 @ 21:59:56
Author: arojas
Revision: 441789
archrelease: copy trunk to community-staging-any
Added:
cmake-fedora/repos/community-staging-any/
cmake-fedora/repos/community-staging-any/PKGBUILD
(from rev 441788, cmake-fedora/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: cmake-fedora/repos/community-staging-any/PKGBUILD (from rev 441788, cmake-fedora/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-03-14 21:59:56 UTC (rev 441789)
@@ -0,0 +1,28 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=cmake-fedora
+pkgver=2.9.2
+pkgrel=7
+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.14}
+
+ 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