summaryrefslogtreecommitdiff
path: root/repo/libvirt-glib/libvirt-glib.xibuild
blob: 2623d87da02f08516308ef8b2798bc8ff0b6a6d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

NAME="libvirt-glib"
DESC="libvirt glib integration for events"

MAKEDEPS="libvirt gobject-introspection libxml2 vala meson"

PKG_VER=4.0.0
SOURCE="https://libvirt.org/sources/glib/libvirt-glib-$PKG_VER.tar.xz"

build() {
	meson --prefix=/usr \
         . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

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