1 # Contributor: Michael P <ptchinster@archlinux.org>
6 pkgdesc="a local CVE checker tool"
8 url="http://cvechecker.sourceforge.net/"
11 depends=('libconfig>=1.3' 'sqlite3' 'wget' 'libxslt')
12 makedepends=('subversion')
13 provides=('cvechecker')
14 conflicts=('cvechecker')
23 _svntrunk="https://cvechecker.svn.sourceforge.net/svnroot/cvechecker/"
29 if [ -d $_svnmod/.svn ]; then
30 (cd $_svnmod && svn up -r $pkgver)
32 svn co $_svntrunk -r $pkgver $_svnmod
35 msg "SVN checkout done or server timeout"
36 msg "Starting make..."
38 rm -rf "$srcdir/$_svnmod-build"
39 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
40 cd "$srcdir/$_svnmod-build"
42 autoreconf --force --install
44 ./configure --prefix=/usr --enable-sqlite3
46 make install DESTDIR="${pkgdir}"
47 #make postinstall DESTDIR="${pkgdir}"