blob: 879cdcada68ae5f8c0e8f3e6cd4c9adeae739eda (
plain) (
blame)
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
42
43
|
# Contributor: Max Rees <maxcrees@me.com>
# Maintainer: Max Rees <maxcrees@me.com>
pkgname=cve-check-tool
pkgver=5.6.4_p2
_pkgver=${pkgver%_p*}+adelie${pkgver#*_p}
pkgrel=0
pkgdesc="Vulnerability checker for Linux packaging"
url="https://code.foxkit.us/sroracle/cve-check-tool"
arch="all"
license="GPL-2.0+"
depends=""
makedepends="bash curl-dev glib-dev gobject-introspection-dev
jansson-dev libxml2-dev openssl-dev sqlite-dev"
checkdepends="check-dev"
subpackages="$pkgname-doc"
source="https://dev.sick.bike/dist/cve-check-tool-$_pkgver.tar.gz"
builddir="$srcdir/$pkgname-$_pkgver"
prepare() {
default_prepare
autoreconf -vif
}
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var
make
}
check() {
make -j1 check
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="ee3e8edde7a21a139a7ff9853959487d980e703dbd52c653dd88892ecb1770e52568cf37168c9069378141c159730aa9631dca0e72630e1b67bb8a3f3d835a0e cve-check-tool-5.6.4+adelie2.tar.gz"
|