aboutsummaryrefslogtreecommitdiffstats
path: root/community/osinfo-db/APKBUILD
blob: 562a22e65be1206a94a23ff301d1b8f71d309c20 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=osinfo-db
pkgver=20210105
pkgrel=0
pkgdesc="osinfo database files"
url="https://libosinfo.org/"
arch="noarch"
license="LGPL-2.0-or-later"
makedepends="osinfo-db-tools"
source="https://dev.alpinelinux.org/archive/osinfo-db/osinfo-db-$pkgver.tar.xz
	"

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

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

sha512sums="ed30449594e17f4c6857fac872043385254114cf7d49ce602172d33bf303bc9ad179b991718de75ed12776ef80b44f558a637e851fe41a2e3f99c035674eb889  osinfo-db-20210105.tar.xz"