aboutsummaryrefslogtreecommitdiffstats
path: root/testing/nomp/APKBUILD
blob: 5d9f73b9d4e8436d851a1e0bb968f61375b738b5 (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=nomp
pkgver=0.1
pkgrel=6
pkgdesc="Ncurses OpenVAS Manager Protocol"
url="https://gitlab.com/git-rep/nomp"
arch="all"
license="GPL-2.0"
#no check provided by upstream
options="!check"
makedepends="openssl-dev libxml++-dev ncurses-dev"
source="https://gitlab.com/git-rep/nomp/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz
	make-path.patch
	fix-include.patch"
builddir="$srcdir/$pkgname-v$pkgver"

build() {
	cd "$builddir"
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="e4c53b44f85438775f4046c0e90e05f9d80cb60e999c1cc9f6661a43d6ab9ad5a1cf2322e97386f99a83d62aefdfeb477a065639a823f469a1278628bc19673c  nomp-v0.1.tar.gz
9713d125666993e69d7dae5dd253eee884090ce2087c419214beeb4c133e2e3ac219f8bac097e97952ff41066bfb6a6ad731b390c2aadba43ddd72f96f9443f2  make-path.patch
62e777a2fc5adcc2bd15daed66aefa3043ded45b7458f20ebafef7eff5457cd070053a62df9071c3b31c4ae177e2c4b43ee44e0d7c3ea81870e57b63a04f4f8a  fix-include.patch"