updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / gsa / PKGBUILD
blobdcf3ed50a37f2051b623d65a66da7e1750549d96
1 # Contributor: Vlatko Kosturjak <kost@linux.hr>
3 pkgname=gsa
4 pkgver=2.0.1
5 pkgrel=1
6 pkgdesc="Greenbone Security Assistant (gsa) - OpenVAS web frontend"
7 url="http://www.openvas.org/"
8 license=GPL
9 depends=('glibc' 'libmicrohttpd-svn' 'libxml2' 'glib2' 'libxslt' 'gnutls' 'openvas-libraries')
10 makedepends=('gcc' 'automake' 'cmake' 'doxygen')
11 conflicts=()
12 replaces=()
13 backup=(etc/openvas/gsad_log.conf)
14 install=
15 source=(http://wald.intevation.org/frs/download.php/857/greenbone-security-assistant-$pkgver.tar.gz gsa-no-werror-remove.patch)
16 md5sums=('04def2bedc3564018b977d5409d0a515' '8a564ebe827c07ac8c1b9d1f4eab9eee')
17 arch=('i686' 'x86_64')
20 build() {
21   cd $startdir/src/greenbone-security-assistant-$pkgver/
22   patch -p1 < $startdir/src/gsa-no-werror-remove.patch
23   cmake -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONFDIR=/etc -DLOCALSTATEDIR=/var .
24   make
25   make DESTDIR="$pkgdir/" install