diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2018-09-24 10:22:43 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2018-09-24 10:22:48 +0000 |
commit | 0864770c78dd0e492800932a18eecb082553c9a9 (patch) | |
tree | 81ee137e370c8c1af1c8f6d2cd356eae014938db /main/cvechecker | |
parent | 468990bcc2275162cdecac6711e274a7834454ed (diff) | |
download | aports-0864770c78dd0e492800932a18eecb082553c9a9.tar.bz2 aports-0864770c78dd0e492800932a18eecb082553c9a9.tar.xz |
main/cvechecker: upgrade to 3.9
Diffstat (limited to 'main/cvechecker')
-rw-r--r-- | main/cvechecker/APKBUILD | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/main/cvechecker/APKBUILD b/main/cvechecker/APKBUILD index 2f1d30043e..473e3e1431 100644 --- a/main/cvechecker/APKBUILD +++ b/main/cvechecker/APKBUILD @@ -2,23 +2,28 @@ # Contributor: Francesco Colista <fcolista@alpinelinux.org> # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=cvechecker -pkgver=3.8 -pkgrel=2 +pkgver=3.9 +pkgrel=0 pkgdesc="A local CVE checker tool" url="https://github.com/sjvermeu/cvechecker/wiki" arch="all" license="GPL-3.0" depends="gawk wget libxslt" -makedepends="libconfig-dev sqlite-dev libressl-dev mariadb-connector-c-dev argp-standalone" +makedepends="libconfig-dev sqlite-dev libressl-dev mariadb-connector-c-dev +argp-standalone autoconf automake" install="$pkgname.pre-install $pkgname.post-install" subpackages="$pkgname-doc" pkggroups="$pkgname" -source="https://raw.githubusercontent.com/wiki/sjvermeu/$pkgname/releases/$pkgname-$pkgver.tar.gz" +source="$pkgname-$pkgver.tar.gz::https://github.com/sjvermeu/$pkgname/archive/v$pkgver.tar.gz" builddir="$srcdir"/$pkgname-$pkgver -check() { +prepare() { + default_prepare cd "$builddir" - make check + aclocal && \ + autoheader && \ + automake -ac && \ + autoreconf --install } build() { @@ -34,6 +39,12 @@ build() { --enable-mysql make } + +check() { + cd "$builddir" + make check +} + package() { cd "$builddir" make DESTDIR="$pkgdir" install @@ -42,4 +53,4 @@ package() { chmod -R g+w "$pkgdir"/var/cvechecker &>/dev/null } -sha512sums="c7d83592d708d2d7b218f97f5780a442014793163260ba0a3d3aefb329c4e1b24924a461ca37df0d7d3b3e17ac16b29a1eed57169316c9d8cbf780550462f948 cvechecker-3.8.tar.gz" +sha512sums="35fc8501bb56ebe8ef0f38bc8ea91f9446c06901c83ba16488acaa0c71ed446d3337637f1f44bc82c01e1b3f255630f33b13d25e04d85fca5df3a7a5bcf66606 cvechecker-3.9.tar.gz" |