summaryrefslogtreecommitdiff
path: root/core/libssh2/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-09-15 23:14:42 +0000
committerroot <root@rshg054.dnsready.net>2011-09-15 23:14:42 +0000
commit062d1ba2c4d5de52d97f339c5a3ac1199b8533f6 (patch)
treebd00d2e476e1761b3771b1849a3a207dd8cb5c57 /core/libssh2/PKGBUILD
parentd5effc9aadfb9ed5890376ca9497eef52fafcf83 (diff)
Thu Sep 15 23:14:42 UTC 2011
Diffstat (limited to 'core/libssh2/PKGBUILD')
-rw-r--r--core/libssh2/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/core/libssh2/PKGBUILD b/core/libssh2/PKGBUILD
new file mode 100644
index 000000000..3fcc6eccd
--- /dev/null
+++ b/core/libssh2/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 138017 2011-09-14 11:16:24Z 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.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"
+}