[arch-commits] Commit in libssh2/trunk (PKGBUILD)
Dave Reisner
dreisner at archlinux.org
Wed Feb 1 13:37:58 UTC 2012
Date: Wednesday, February 1, 2012 @ 08:37:58
Author: dreisner
Revision: 148464
upgpkg: libssh2 1.4.0-1
- add libprovides
Modified:
libssh2/trunk/PKGBUILD
----------+
PKGBUILD | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-02-01 13:16:33 UTC (rev 148463)
+++ PKGBUILD 2012-02-01 13:37:58 UTC (rev 148464)
@@ -6,7 +6,7 @@
# Contributor: ice-man <icemanf at gmail.com>
pkgname=libssh2
-pkgver=1.3.0
+pkgver=1.4.0
pkgrel=1
pkgdesc="A library implementing the SSH2 protocol as defined by Internet Drafts"
url="http://www.libssh2.org/"
@@ -14,20 +14,22 @@
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=('6425331899ccf1015f1ed79448cb4709'
- '6ddcc9f2b37941f8291d7494ee8f89b7')
+md5sums=('ee670161d8c5dff93ae84a3f34f15669'
+ 'd30af693479e5e88036ffb61ab8d0dc9')
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$pkgname-$pkgver"
./configure --prefix=/usr
make
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$pkgname-$pkgver"
+
make DESTDIR="$pkgdir" install
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
More information about the arch-commits
mailing list