PKGBUILD 740 Bytes
Newer Older
1 2 3
#
# Core Packages for Chakra, part of chakra-project.org
#
Fabian's avatar
Fabian committed
4 5
# maintainer <inkane@chakra-project.org>
# contributor <abveritas[at]chakra-project[dot]org>
abveritas's avatar
abveritas committed
6 7

pkgname=libssh
Fabian's avatar
Fabian committed
8
pkgver=0.5.4
9
pkgrel=1
abveritas's avatar
abveritas committed
10 11 12
pkgdesc="Library for accessing ssh client services through C libraries"
url="http://www.libssh.org/"
license=('LGPL')
13
arch=('x86_64')
abveritas's avatar
abveritas committed
14
depends=('openssl')
15
makedepends=('cmake' 'doxygen')
Fabian's avatar
Fabian committed
16 17
source=("https://red.libssh.org/attachments/download/41/${pkgname}-${pkgver}.tar.gz")
md5sums=('b8b4e733c13dfabae33b2688ef82dacc')
abveritas's avatar
abveritas committed
18 19

build() {
20
  cd "${srcdir}"
abveritas's avatar
abveritas committed
21 22 23 24
  mkdir build
  cd build
  cmake ../${pkgname}-${pkgver} \
    -DCMAKE_INSTALL_PREFIX=/usr \
25 26
    -DCMAKE_BUILD_TYPE=Release
  make
abveritas's avatar
abveritas committed
27 28 29
}

package(){
30 31
  cd "${srcdir}"/build
  make DESTDIR="${pkgdir}" install
abveritas's avatar
abveritas committed
32
}