[arch-commits] Commit in libssh/repos/extra-x86_64 (PKGBUILD PKGBUILD keys keys)

Antonio Rojas arojas at gemini.archlinux.org
Tue Aug 30 15:52:01 UTC 2022


    Date: Tuesday, August 30, 2022 @ 15:52:01
  Author: arojas
Revision: 454776

archrelease: copy trunk to extra-x86_64

Added:
  libssh/repos/extra-x86_64/PKGBUILD
    (from rev 454775, libssh/trunk/PKGBUILD)
  libssh/repos/extra-x86_64/keys/
Deleted:
  libssh/repos/extra-x86_64/PKGBUILD
  libssh/repos/extra-x86_64/keys/

----------+
 PKGBUILD |  110 +++++++++++++++++++++++++++----------------------------------
 1 file changed, 49 insertions(+), 61 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-30 15:51:51 UTC (rev 454775)
+++ PKGBUILD	2022-08-30 15:52:01 UTC (rev 454776)
@@ -1,61 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Tom Gundersen <teg at jklm.no>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: ice-man <icemanf at gmail.com>
-# Contributor: sergeantspoon <sergeantspoon at archlinux.us>
-
-pkgbase=libssh
-pkgname=(libssh libssh-docs)
-pkgver=0.10.0
-pkgrel=1
-pkgdesc='Library for accessing ssh client services through C libraries'
-url='https://www.libssh.org/'
-license=('LGPL')
-arch=('x86_64')
-depends=('zlib' 'openssl')
-makedepends=('cmake' 'cmocka' 'doxygen' 'python' 'openssh')
-provides=('libssh.so')
-source=("https://www.libssh.org/files/${pkgver%.*}/$pkgname-$pkgver.tar.xz"{,.asc})
-sha256sums=('0dc158c534cd838ad0b785a82dec586de40da7e096523ae6c08c9b7bd2af0b57'
-            'SKIP')
-validpgpkeys=('8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D') # Andreas Schneider <asn at cryptomilk.org>
-
-prepare() {
-  # disable the test. It is confused by our clean container setup.
-  # 'extra-x86-build' uses user 'nobody' that has a record in /etc/passwd file
-  # but $HOME envvar is set to '/build'. The test expects that $HOME corresponds to passwd file.
-  sed 's/cmocka_unit_test(torture_path_expand_tilde_unix),//' -i libssh-${pkgver}/tests/unittests/torture_misc.c
-
-  mkdir -p build
-}
-
-build() {
-  cd build
-  cmake ../$pkgname-$pkgver \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DWITH_GSSAPI=OFF \
-    -DUNIT_TESTING=ON
-  make
-  make docs
-}
-
-check() {
-  cd build
-  make test
-}
-
-package_libssh() {
-  cd build
-  make DESTDIR="$pkgdir" install
-}
-
-package_libssh-docs() {
-  pkgdesc="Documentation for libssh"
-  depends=()
-  provides=()
-
-  mkdir -p "$pkgdir"/usr/share/doc/libssh
-  cp -r build/doc/html "$pkgdir"/usr/share/doc/libssh
-#  cp -r build/doc/man "$pkgdir"/usr/share
-#  rm "$pkgdir"/usr/share/man/man3/{bug,deprecated}.*
-}

Copied: libssh/repos/extra-x86_64/PKGBUILD (from rev 454775, libssh/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-30 15:52:01 UTC (rev 454776)
@@ -0,0 +1,49 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Tom Gundersen <teg at jklm.no>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: ice-man <icemanf at gmail.com>
+# Contributor: sergeantspoon <sergeantspoon at archlinux.us>
+
+pkgbase=libssh
+pkgname=(libssh libssh-docs)
+pkgver=0.10.1
+pkgrel=1
+pkgdesc='Library for accessing ssh client services through C libraries'
+url='https://www.libssh.org/'
+license=(LGPL)
+arch=(x86_64)
+depends=(zlib openssl)
+makedepends=(cmake cmocka doxygen python openssh)
+provides=(libssh.so)
+source=("https://www.libssh.org/files/${pkgver%.*}/$pkgname-$pkgver.tar.xz"{,.asc})
+sha256sums=('da2b3337a0dd1d1e3788376ee471548520cad91a4f3f23ea3f50c5a73a7e69a5'
+            'SKIP')
+validpgpkeys=('8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D') # Andreas Schneider <asn at cryptomilk.org>
+
+build() {
+  cmake -B build -S $pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DWITH_GSSAPI=OFF \
+    -DUNIT_TESTING=ON
+  cmake --build build
+  cmake --build build --target docs
+}
+
+check() {
+  cmake --build build --target test
+}
+
+package_libssh() {
+  DESTDIR="$pkgdir" cmake --install build
+}
+
+package_libssh-docs() {
+  pkgdesc='Documentation for libssh'
+  depends=()
+  provides=()
+
+  mkdir -p "$pkgdir"/usr/share/doc/libssh
+  cp -r build/doc/html "$pkgdir"/usr/share/doc/libssh
+#  cp -r build/doc/man "$pkgdir"/usr/share
+#  rm "$pkgdir"/usr/share/man/man3/{bug,deprecated}.*
+}



More information about the arch-commits mailing list