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

Antonio Rojas arojas at archlinux.org
Wed Jul 15 16:14:16 UTC 2020


    Date: Wednesday, July 15, 2020 @ 16:14:16
  Author: arojas
Revision: 663979

archrelease: copy trunk to community-testing-any

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

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

Copied: cmake-fedora/repos/community-testing-any/PKGBUILD (from rev 663978, cmake-fedora/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2020-07-15 16:14:16 UTC (rev 663979)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=cmake-fedora
+pkgver=2.9.3
+pkgrel=2
+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.18}
+
+  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