diff options
author | root <root@rshg054.dnsready.net> | 2012-02-02 23:14:44 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-02-02 23:14:44 +0000 |
commit | 22e5f5bf64eba5c65674eeb3a8167de2854dbe0e (patch) | |
tree | eb874eff6206b4a1557f42bc02ee9e54c43bc882 /testing/libssh2/PKGBUILD | |
parent | ac5ada660240f37d7347e42123071990f616e418 (diff) |
Thu Feb 2 23:14:44 UTC 2012
Diffstat (limited to 'testing/libssh2/PKGBUILD')
-rw-r--r-- | testing/libssh2/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/libssh2/PKGBUILD b/testing/libssh2/PKGBUILD new file mode 100644 index 000000000..76eabb1f2 --- /dev/null +++ b/testing/libssh2/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 148465 2012-02-01 13:38:10Z dreisner $ +# Maintainer: Dave Reisner <dreisner@archlinux.org> +# Contributor: 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.4.0 +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') +provides=('libssh2.so=1-64') +options=('!libtool') +source=("http://www.libssh2.org/download/$pkgname-$pkgver.tar.gz"{,.asc}) +md5sums=('ee670161d8c5dff93ae84a3f34f15669' + 'd30af693479e5e88036ffb61ab8d0dc9') + +build() { + cd "$pkgname-$pkgver" + + ./configure --prefix=/usr + make +} + +package() { + cd "$pkgname-$pkgver" + + make DESTDIR="$pkgdir" install + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} |