core/libssh/PKGBUILD

32 lines
697 B
Bash

#
# Core Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas[at]chakra-project[dot]org>
pkgname=libssh
pkgver=0.5.3
pkgrel=1
pkgdesc="Library for accessing ssh client services through C libraries"
url="http://www.libssh.org/"
license=('LGPL')
arch=('x86_64')
depends=('openssl')
makedepends=('cmake' 'doxygen')
source=("https://red.libssh.org/attachments/download/38/${pkgname}-${pkgver}.tar.gz")
md5sums=('9ad01838d3b89d98e900e0f6260a88cc')
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
}