blob: 0dc87dae668cd2893fa22885dcbb06bbf3040a85 (
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.6.0
pkgrel=0
pkgdesc="Tools for managing the osinfo database"
url="https://libosinfo.org/"
arch="all"
license="GPL-2.0-or-later"
makedepends="intltool glib-dev libxml2-dev libarchive-dev libxslt-dev json-glib-dev
automake autoconf libtool libsoup-dev xz"
checkdepends="py3-pytest py3-requests"
subpackages="$pkgname-doc $pkgname-lang"
source="https://releases.pagure.org/libosinfo/osinfo-db-tools-$pkgver.tar.gz"
prepare() {
default_prepare
autoreconf -fi
}
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="a3bdf9d913b388b0f567a14245f57c4f1da9dae40d723f8e76096ffdae9d7a8e587ed4832e3e59c820bc01bbb2b74815b3fefd8e1f47cebd903091457fdee951 osinfo-db-tools-1.6.0.tar.gz"
|