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

                                                   
            
        
                                                
                            
          
                          









                      
                                      
                                        

                                                                                                        

         

                                                   

 
         
                                            

 
           
                                                              

 
                                                                                                                                                                            
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=osinfo-db-tools
pkgver=1.9.0
pkgrel=0
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
	libsoup-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 ${JOBS:+-j ${JOBS}} -C output
}

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

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

sha512sums="fbd03eceede2ce4f294002e3a9d57b541fdddb16226de8a35a12a798247dad2fb2ce270d2d6d4c3e2aa0eff220f7a609914358d7f8b18eba09699bac992e102f  osinfo-db-tools-v1.9.0.tar.gz"