diff options
Diffstat (limited to 'testing')
-rw-r--r-- | testing/libssh2/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/libssh2/PKGBUILD b/testing/libssh2/PKGBUILD new file mode 100644 index 000000000..4eeb02c5d --- /dev/null +++ b/testing/libssh2/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 134704 2011-08-07 16:23:21Z angvp $ +# Maintainer: Angel Velasquez <angvp@archlinux.org> +# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Andrea Scarpino <andrea@archlinux.org> +# Contributor: ice-man <icemanf@gmail.com> + +pkgname=libssh2 +pkgver=1.2.8 +pkgrel=1 +pkgdesc="A library implementing the SSH2 protocol as defined by Internet Drafts" +url="http://www.libssh2.org/" +arch=('i686' 'x86_64') +license=('BSD') +depends=('openssl') +makedepends=('zlib') +options=('!libtool') +source=("http://www.libssh2.org/download/${pkgname}-${pkgver}.tar.gz") +md5sums=('1b236563b75d1b1f0d483352dc5918cf') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + ./configure --prefix=/usr + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR=${pkgdir} install + install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE +} |