[arch-commits] Commit in libssh/repos (3 files)
Christian Hesse
eworm at gemini.archlinux.org
Wed Sep 7 13:57:15 UTC 2022
Date: Wednesday, September 7, 2022 @ 13:57:15
Author: eworm
Revision: 455227
archrelease: copy trunk to testing-x86_64
Added:
libssh/repos/testing-x86_64/
libssh/repos/testing-x86_64/PKGBUILD
(from rev 455226, libssh/trunk/PKGBUILD)
libssh/repos/testing-x86_64/keys/
----------+
PKGBUILD | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
Copied: libssh/repos/testing-x86_64/PKGBUILD (from rev 455226, libssh/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2022-09-07 13:57:15 UTC (rev 455227)
@@ -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.4
+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=('07392c54ab61476288d1c1f0a7c557b50211797ad00c34c3af2bbc4dbc4bd97d'
+ '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