summaryrefslogtreecommitdiff
path: root/user/spice-protocol/APKBUILD
blob: a73fe219d8567ee7a47f82d4aa962cde54ce24f8 (plain) (blame)
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
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=spice-protocol
pkgver=0.14.4
pkgrel=0
pkgdesc="Spice protocol header files"
url="https://www.spice-space.org/"
arch="noarch"
options="!check"  # No test suite.
license="BSD-3-Clause AND LGPL-2.1+"
depends=""
makedepends="meson ninja"
subpackages=""
source="https://www.spice-space.org/download/releases/$pkgname-$pkgver.tar.xz"

build() {
	meson setup -Dprefix=/usr -Ddatadir=lib build
	ninja -C build
}

check() {
	ninja -C build check
}

package() {
	DESTDIR="$pkgdir" ninja -C build install
}

sha512sums="c55677fd6da37303487f8245388cbd555715c736e15bca4a305c4374feafc655b74e549ea401949d72e17b2e6ad76f16c5add3963008a18a1fefedd4b4a001c1  spice-protocol-0.14.4.tar.xz"