aboutsummaryrefslogblamecommitdiffstats
path: root/community/osinfo-db/APKBUILD
blob: 7e97758dea27ab31e556d70a83c5501dce662f0c (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                   
               
        
                               
                            
             
                           
                             




                                                                      



                                            
           

                                                                          

 
                                                                                                                                                                       

                                                                                                                                                             
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=osinfo-db
pkgver=20200529
pkgrel=0
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="27efed4680d80432541c9e3dc692a381b479811ebce39e9b42382bd8b499d2782b59323a6c29517f38fa63061720d26c87e3c7ca806414adddfb9e4294ee106b  osinfo-db-20200529.tar.xz
6e44f4dc1ea83041cf38a2732e717a868ee356cc6a6349dfe34523c5e07d4eca60a50c91513dedc7c08ed06f92a29a85b568fa5142e189c10f8453ef251babf4  0001-alpine-add-3.9.patch
f7a896fef70fe9eb1790629815d03f717daf4146813fd13b947067faeaa56e9953649ef00dcdba2cfc5303321b9a93842a93b11cd404a1842790e2df8d973338  0002-alpine-add-3.10.patch"