Date: Thursday, November 17, 2022 @ 16:22:31
  Author: arojas
Revision: 462063

archrelease: copy trunk to testing-x86_64

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

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

Copied: cmake/repos/testing-x86_64/PKGBUILD (from rev 462062, 
cmake/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2022-11-17 16:22:31 UTC (rev 462063)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Andrea Scarpino <[email protected]>
+# Contributor: Pierre Schmitz <[email protected]>
+
+pkgname=cmake
+pkgver=3.25.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=('f6e527161b8501c72b71a95ff7a0cf304ae02a214086ff58dd686543243d939e83faf94780cda477b19e4d42e4b8f1ff96c52f98e8f7f717e102a5229f4dd44c')
+
+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