aboutsummaryrefslogtreecommitdiffstats
path: root/main/spice-protocol/APKBUILD
blob: e2521d1d200e34a77fc11715a2d6e6068b0e233d (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=spice-protocol
pkgver=0.12.13
pkgrel=0
pkgdesc="Spice protocol header files"
url="http://www.spice-space.org/"
arch="noarch"
license="BSD and LGPL-2.0-or-later"
depends=""
makedepends=""
source="http://www.spice-space.org/download/releases/$pkgname-$pkgver.tar.bz2
	"

builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$builddir"

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

# As of version 0.12.13 the check function exists but checks nothing at all!
check() {
	cd "$builddir"

	make check
}

package() {
	cd "$builddir"

	make pkgconfigdir=/usr/lib/pkgconfig DESTDIR="$pkgdir" install
}

sha512sums="55840020a7a538e72bf53d2124a6b1920dd2d567418cf02dc33783ae5c78154d5c832d69f2e6570453c4086194b417d10687884de20365c13657ad7ca7b2ae02  spice-protocol-0.12.13.tar.bz2"