Date: Tuesday, March 29, 2022 @ 20:05:10
  Author: arojas
Revision: 440923

archrelease: copy trunk to testing-x86_64

Added:
  cmake/repos/testing-x86_64/
  cmake/repos/testing-x86_64/PKGBUILD
    (from rev 440922, cmake/trunk/PKGBUILD)

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

Copied: cmake/repos/testing-x86_64/PKGBUILD (from rev 440922, 
cmake/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2022-03-29 20:05:10 UTC (rev 440923)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Andrea Scarpino <[email protected]>
+# Contributor: Pierre Schmitz <[email protected]>
+
+pkgname=cmake
+pkgver=3.23.0
+pkgrel=1
+pkgdesc='A cross-platform open-source make system'
+arch=('x86_64')
+url="https://www.cmake.org/";
+license=('custom')
+depends=('curl' 'libarchive' 'hicolor-icon-theme' 'jsoncpp' 'libjsoncpp.so' 
'libuv' 'rhash')
+makedepends=('qt6-base' 'python-sphinx' 'emacs')
+optdepends=('qt6-base: cmake-gui')
+source=("https://www.cmake.org/files/v${pkgver%.*}/${pkgname}-${pkgver}.tar.gz";)
+sha512sums=('bcde8f2bf2fff6c4ab37a28c115b4b53d5fef0d4e38305420966cbd9f0026a4ffdcd4137f917a83458c1f380a137f7a7bd78f6fbd4d92fdcc5cf1dfbe4c02003')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./bootstrap --prefix=/usr \
+    --mandir=/share/man \
+    --docdir=/share/doc/cmake \
+    --datadir=/share/cmake \
+    --sphinx-man \
+    --sphinx-html \
+    --system-libs \
+    --qt-gui \
+    --parallel=$(/usr/bin/getconf _NPROCESSORS_ONLN)
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+
+  rm -r "$pkgdir"/usr/share/doc/cmake/html/_sources
+  emacs -batch -f batch-byte-compile 
"${pkgdir}"/usr/share/emacs/site-lisp/cmake-mode.el
+  install -Dm644 Copyright.txt 
"${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}

Reply via email to