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

Antonio Rojas arojas at archlinux.org
Wed Jul 17 16:09:31 UTC 2019


    Date: Wednesday, July 17, 2019 @ 16:09:30
  Author: arojas
Revision: 490239

archrelease: copy trunk to community-testing-any

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

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

Copied: cmake-fedora/repos/community-testing-any/PKGBUILD (from rev 490238, cmake-fedora/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2019-07-17 16:09:30 UTC (rev 490239)
@@ -0,0 +1,28 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=cmake-fedora
+pkgver=2.9.2
+pkgrel=8
+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.15}
+
+  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