aboutsummaryrefslogtreecommitdiffstats
path: root/main/spice-protocol/APKBUILD
blob: 25d9ccb39c30fbac9a3103852e2859ca30c9e268 (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
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=spice-protocol
pkgver=0.12.12
pkgrel=0
pkgdesc="Spice protocol header files"
url="http://www.spice-space.org/"
arch="noarch"
license="BSD and LGPLv2+"
depends=""
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages=""
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 \
		|| return 1
	make || return 1
}

package() {
	cd "$builddir"
	make pkgconfigdir=/usr/lib/pkgconfig DESTDIR="$pkgdir" install \
		|| return 1
}

md5sums="3b2886cceaefc228b7afa12300462abd  spice-protocol-0.12.12.tar.bz2"
sha256sums="17abdc2743b5d44b0f4423b61c44aafe9f2078c27218aeea78c2d02a5c409d03  spice-protocol-0.12.12.tar.bz2"
sha512sums="66e7a902b3c4a5a778cb91ffd9d324b12d414184146ac834dfb3bd81b4b6b1bb56258d3e1ce240b6f8747e1960fce8f0f6b0ada3617e9f9819be7118195fce6b  spice-protocol-0.12.12.tar.bz2"