summaryrefslogtreecommitdiff
path: root/repo/libgcab/libgcab.xibuild
blob: 70256269910c91850c486c8224ae14a463af0d3f (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.5
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
}