aboutsummaryrefslogtreecommitdiffstats
path: root/community/osinfo-db/APKBUILD
blob: 23b58e3fb5ef01ce0b6496168e239bfb1f152537 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=osinfo-db
pkgver=20190504
pkgrel=1
pkgdesc="osinfo database files"
url="https://libosinfo.org/"
arch="noarch"
license="LGPL-2.0-or-later"
makedepends="osinfo-db-tools"
source="https://releases.pagure.org/libosinfo/osinfo-db-$pkgver.tar.xz
	0001-alpine-add-3.9.patch
	0002-alpine-add-3.10.patch
	"


check() {
	osinfo-db-validate --dir "$builddir"
}

package() {
	osinfo-db-import --root "$pkgdir" \
		--dir /usr/share/osinfo "$srcdir"/osinfo-db-$pkgver.tar.xz
}

sha512sums="ec0be84de376e35239e074c696494981b26107881f544091b4064f6e215f77a97102db8adea632a2aa586aef0c7475892ac3b141f07ebb1bb94eb9e5059a5ca6  osinfo-db-20190504.tar.xz
6e44f4dc1ea83041cf38a2732e717a868ee356cc6a6349dfe34523c5e07d4eca60a50c91513dedc7c08ed06f92a29a85b568fa5142e189c10f8453ef251babf4  0001-alpine-add-3.9.patch
f7a896fef70fe9eb1790629815d03f717daf4146813fd13b947067faeaa56e9953649ef00dcdba2cfc5303321b9a93842a93b11cd404a1842790e2df8d973338  0002-alpine-add-3.10.patch"