# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=spice-protocol
pkgver=0.14.0
pkgrel=0
pkgdesc="Spice protocol header files"
url="https://www.spice-space.org/"
arch="noarch"
license="BSD-3-Clause AND LGPL-2.1+"
depends=""
makedepends=""
subpackages=""
source="https://www.spice-space.org/download/releases/$pkgname-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr 
	make
}

check() {
	make check
}

package() {
	make pkgconfigdir=/usr/lib/pkgconfig DESTDIR="$pkgdir" install
}

sha512sums="797df5f529731e9fd395b5946af2490ecf02c26982cc4a0aef24c1766887a35222f68525a996f8bc7459c2c4a25fde0c9a10c489ee6cab6eed7a68a9b5d90f76  spice-protocol-0.14.0.tar.bz2"