summaryrefslogtreecommitdiff
path: root/repo/usbredir/usbredir.xibuild
blob: 37ea8b093a8ceca2b839573ffb50323e863d061d (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="usbredir"
DESC="USB network redirection protocol libraries"

MAKEDEPS="libusb meson glib"

PKG_VER=0.13.0
SOURCE="https://www.spice-space.org/download/usbredir/usbredir-$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
}