summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e4c1d40f9fd0669321afbaaae8e4fd1ed23de69f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>

pkgname=cvechecker
pkgver=4.0
pkgrel=1
pkgdesc="a local CVE checker tool"
arch=('i686' 'x86_64')
url="https://github.com/sjvermeu/cvechecker"
license=('GPL')
groups=('system')
depends=('libconfig>=1.3' 'sqlite3' 'wget' 'libxslt' 'jq' 'libbsd')
makedepends=('autoconf')
provides=('cvechecker')
conflicts=('cvechecker-svn')
replaces=()
backup=()
options=()
install='cvechecker.install'
noextract=()
source=("https://github.com/sjvermeu/${pkgname}/archive/${pkgname}-${pkgver}.zip")
md5sums=('b6083a2ad9a23f7d7ef509353ed8dfff')

build() {
	cd ${srcdir}/${pkgname}-${pkgname}-${pkgver}
	aclocal && \
	autoheader && \
	automake -ac && \
	autoreconf --install
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--enable-sqlite3
	make
}

package() {
	cd ${srcdir}/${pkgname}-${pkgname}-${pkgver}
	make install DESTDIR=${pkgdir}
}