summaryrefslogblamecommitdiff
path: root/user/spice-protocol/APKBUILD
blob: d7782af720f91407e93ed28ee31d739d04360903 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                    
             



                                     
                                  

                                    
                         
              
                                                                              

         

                                               


         
                            


           
                                                

 
                                                                                                                                                                           
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=spice-protocol
pkgver=0.14.2
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 -Dprefix=/usr -Ddatadir=lib build
	ninja -C build
}

check() {
	ninja -C build check
}

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

sha512sums="181015f0f56d679ebfdbd6dbed37b50b1c0be550a714e8faf70624631d9a246fe68454eb44a1bae1765e1739f2d7469ab767c44f49776751826a4919ec88160e  spice-protocol-0.14.2.tar.xz"