summaryrefslogtreecommitdiff
path: root/community/osinfo-db-tools/APKBUILD
blob: b78d01110779ae89f39e8ac4ccf718a89c08ba91 (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
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=osinfo-db-tools
pkgver=1.10.0
pkgrel=2
pkgdesc="Tools for managing the osinfo database"
url="https://libosinfo.org/"
arch="all"
license="GPL-2.0-or-later"
makedepends="
	meson
	glib-dev
	libxml2-dev
	libarchive-dev
	libxslt-dev
	json-glib-dev
	libsoup3-dev
	perl
	"
checkdepends="py3-pytest py3-requests"
subpackages="$pkgname-doc $pkgname-lang"
source="https://gitlab.com/libosinfo/osinfo-db-tools/-/archive/v$pkgver/osinfo-db-tools-v$pkgver.tar.gz"
builddir="$srcdir/osinfo-db-tools-v$pkgver"

build() {
	abuild-meson . output
	meson compile -C output
}

check() {
	meson test --no-rebuild --print-errorlogs -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
71cbbc86e5cc7bbde32890cbf3900264f7b23450815df0bbd05f36797372398fd9bd735e475a29f06dba64ae9dd50736b85025a918ab4731a42f5c2bb5bf6180  osinfo-db-tools-v1.10.0.tar.gz
"