archrelease: copy trunk to community-any
[ArchLinux/community.git] / openvas-cli / trunk / PKGBUILD
blob591dd9dd614d06f608e5f01b73d3e87549221055
1 # Maintainer  : Christian Rebischke <chris.rebischke@archlinux.org>
2 # Maintainer  : Levente Polyak <anthraxx[at]archlinux[dot]org>
3 # Contributor : Daniel Micay <danielmicay@gmail.com>
4 pkgname=openvas-cli
5 pkgver=1.4.5
6 pkgrel=2
7 pkgdesc='The OpenVAS Command-Line Interface'
8 arch=('x86_64')
9 url='http://www.openvas.org/'
10 license=('GPL')
11 depends=('openvas-libraries')
12 makedepends=('cmake' 'xmltoman' 'doxygen')
13 groups=(openvas)
14 # These URLs need to be manually updated on every pkgver upgrade.
15 # http://wald.intevation.org/frs/?group_id=29
16 source=("http://wald.intevation.org/frs/download.php/2397/${pkgname}-${pkgver}.tar.gz"
17         "http://wald.intevation.org/frs/download.php/2398/${pkgname}-${pkgver}.tar.gz.sig")
18 sha512sums=('35ec391d1e25bfe1a49507b9e2ec69243411a6e839232334bb0f2eed26750a159942b7d14528fab9e57e1c7d7bf40fa087686444168ced4e4281ad78f2aeae85'
19             'SKIP')
20 validpgpkeys=(
21               'C3B468D2288C68B9D526452248479FF648DB4530' # OpenVAS Transfer Integrity
24 build() {
25   cd "${pkgname}-${pkgver}"
26   cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr \
27     -DSYSCONFDIR=/etc -DLOCALSTATEDIR=/var .
28   make
31 package() {
32   cd "${pkgname}-${pkgver}"
33   make DESTDIR="${pkgdir}/" install