summaryrefslogtreecommitdiff
path: root/repo/libgcab/libgcab.xibuild
blob: 22a81aa2136207a7243050cbd01c60b8e5bbfb7f (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
#!/bin/sh

NAME="libgcab"
DESC="A GObject library to create cabinet files"

MAKEDEPS="meson gobject-introspection glib vala gtk2"

PKG_VER=1.4
SOURCE="https://download.gnome.org/sources/gcab/$PKG_VER/gcab-$PKG_VER.tar.xz"

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

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

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