core/libssh/PKGBUILD

28 lines
607 B
Bash
Raw Normal View History

2011-07-24 05:03:25 +08:00
pkgname=libssh
2015-05-01 06:40:01 +08:00
pkgver=0.6.5
2011-09-18 23:34:26 +08:00
pkgrel=1
2015-05-01 06:40:01 +08:00
_pkgver=121
2011-07-24 05:03:25 +08:00
pkgdesc="Library for accessing ssh client services through C libraries"
url="http://www.libssh.org/"
license=('LGPL')
arch=('x86_64')
2011-07-24 05:03:25 +08:00
depends=('openssl')
2011-09-18 23:34:26 +08:00
makedepends=('cmake' 'doxygen')
2015-05-01 06:40:01 +08:00
source=("https://red.libssh.org/attachments/download/${_pkgver}/${pkgname}-${pkgver}.tar.xz")
md5sums=('fdf107011ae1847d86620b39ae37d4f3')
2011-07-24 05:03:25 +08:00
build() {
2011-09-18 23:34:26 +08:00
cd "${srcdir}"
2011-07-24 05:03:25 +08:00
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
2011-09-18 23:34:26 +08:00
-DCMAKE_BUILD_TYPE=Release
make
2011-07-24 05:03:25 +08:00
}
package(){
2011-09-18 23:34:26 +08:00
cd "${srcdir}"/build
make DESTDIR="${pkgdir}" install
2011-07-24 05:03:25 +08:00
}