blob: bdd4a274c02592acc3a6a85ae21c220aceef7793 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# $Id: PKGBUILD 135676 2011-08-17 07:52:28Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: ice-man <icemanf@gmail.com>
# Contributor: sergeantspoon <sergeantspoon@archlinux.us>
pkgname=libssh
pkgver=0.5.1
pkgrel=1
pkgdesc="Library for accessing ssh client services through C libraries"
url="http://www.libssh.org/"
license=('LGPL')
arch=('i686' 'x86_64')
depends=('openssl')
makedepends=('cmake' 'doxygen')
source=("http://www.libssh.org/files/0.5/${pkgname}-${pkgver}.tar.gz")
md5sums=('0cd8bc9336398e23a76f4e25c1412eb4')
build() {
cd "${srcdir}"
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release
make
}
package(){
cd "${srcdir}"/build
make DESTDIR="${pkgdir}" install
}
|