Date: Wednesday, September 14, 2011 @ 07:16:24 Author: dreisner Revision: 138017
db-move: moved libssh2 from [extra] to [core] (x86_64) Added: libssh2/repos/core-x86_64/ libssh2/repos/core-x86_64/PKGBUILD (from rev 138015, libssh2/repos/extra-x86_64/PKGBUILD) Deleted: libssh2/repos/extra-x86_64/ ----------+ PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) Copied: libssh2/repos/core-x86_64/PKGBUILD (from rev 138015, libssh2/repos/extra-x86_64/PKGBUILD) =================================================================== --- core-x86_64/PKGBUILD (rev 0) +++ core-x86_64/PKGBUILD 2011-09-14 11:16:24 UTC (rev 138017) @@ -0,0 +1,33 @@ +# $Id$ +# Maintainer: Dave Reisner <dreis...@archlinux.org> +# Contributor: Angel Velasquez <an...@archlinux.org> +# Contributor: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Contributor: Andrea Scarpino <and...@archlinux.org> +# Contributor: ice-man <icem...@gmail.com> + +pkgname=libssh2 +pkgver=1.3.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') +options=('!libtool') +source=("http://www.libssh2.org/download/$pkgname-$pkgver.tar.gz"{,.asc}) +md5sums=('6425331899ccf1015f1ed79448cb4709' + '6ddcc9f2b37941f8291d7494ee8f89b7') + +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" +}