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

Antonio Rojas arojas at archlinux.org
Wed Nov 18 20:49:33 UTC 2020


    Date: Wednesday, November 18, 2020 @ 20:49:33
  Author: arojas
Revision: 757200

archrelease: copy trunk to community-testing-any

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

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

Copied: cmake-fedora/repos/community-testing-any/PKGBUILD (from rev 757199, cmake-fedora/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2020-11-18 20:49:33 UTC (rev 757200)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=cmake-fedora
+pkgver=2.9.3
+pkgrel=3
+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.19}
+
+  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