[arch-commits] Commit in libssh2/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Mon Sep 20 20:45:29 UTC 2021
Date: Monday, September 20, 2021 @ 20:45:29
Author: felixonmars
Revision: 424435
archrelease: copy trunk to testing-x86_64
Added:
libssh2/repos/testing-x86_64/
libssh2/repos/testing-x86_64/PKGBUILD
(from rev 424434, libssh2/trunk/PKGBUILD)
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Copied: libssh2/repos/testing-x86_64/PKGBUILD (from rev 424434, libssh2/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2021-09-20 20:45:29 UTC (rev 424435)
@@ -0,0 +1,38 @@
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
+# Contributor: Angel Velasquez <angvp at archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: ice-man <icemanf at gmail.com>
+
+pkgname=libssh2
+pkgver=1.10.0
+pkgrel=1
+pkgdesc="A library implementing the SSH2 protocol as defined by Internet Drafts"
+url="https://www.libssh2.org/"
+arch=('x86_64')
+license=('BSD')
+depends=('openssl' 'zlib')
+provides=('libssh2.so')
+validpgpkeys=('27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2' # Daniel Stenberg
+ '914C533DF9B2ADA2204F586D78E11C6B279D5C91') # Daniel Stenberg (old key)
+source=("https://www.libssh2.org/download/$pkgname-$pkgver.tar.gz"{,.asc})
+sha256sums=('2d64e90f3ded394b91d3a2e774ca203a4179f69aebee03003e5a6fa621e41d51'
+ 'SKIP')
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ make -C "$pkgname-$pkgver" check
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
More information about the arch-commits
mailing list