[arch-commits] Commit in cmake-fedora/repos (2 files)

Antonio Rojas arojas at gemini.archlinux.org
Thu Nov 18 20:14:13 UTC 2021


    Date: Thursday, November 18, 2021 @ 20:14:13
  Author: arojas
Revision: 1052508

archrelease: copy trunk to community-staging-any

Added:
  cmake-fedora/repos/community-staging-any/
  cmake-fedora/repos/community-staging-any/PKGBUILD
    (from rev 1052507, cmake-fedora/trunk/PKGBUILD)

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Copied: cmake-fedora/repos/community-staging-any/PKGBUILD (from rev 1052507, cmake-fedora/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-18 20:14:13 UTC (rev 1052508)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=cmake-fedora
+pkgver=2.9.3
+pkgrel=6
+pkgdesc='CMake helper modules for fedora developers'
+arch=('any')
+license=('custom:BSD')
+url='https://pagure.io/cmake-fedora'
+depends=('cmake')
+makedepends=('git')
+source=("git+https://pagure.io/cmake-fedora.git#tag=$pkgver")
+sha512sums=('SKIP')
+
+build() {
+  cd cmake-fedora
+  cmake . -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd cmake-fedora
+  make DESTDIR="$pkgdir" install
+
+  mv "$pkgdir"/usr/share/cmake{,-3.22}
+
+  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