aboutsummaryrefslogtreecommitdiffstats
path: root/testing/aqemu/APKBUILD
blob: beacd96b7cb93c0fc9636f764640e52f0ef2b39e (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
30
31
32
33
34
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=aqemu
pkgver=0.9.4
pkgrel=0
pkgdesc="GUI for virtual machines using QEMU as the backend"
url="https://sourceforge.net/projects/aqemu/"
arch="all"
license="GPL-2.0"
depends="qemu"
options="!check" #no check/test provided
makedepends="cmake libvncserver-dev bzip2 qt5-qtbase-dev glib-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/TBK/aqemu/archive/v$pkgver.tar.gz"

prepare() {
	default_prepare
	mkdir -p build
}

build() {
	cd build
	cmake \
		-DCMAKE_INSTALL_PREFIX="/usr" \
		-DMAN_PAGE_COMPRESSOR=gzip ..
	make
}

package() {
	cd build
	make DESTDIR="$pkgdir" install
}

sha512sums="e10e2c558572e6194abadeb46034a59d1b5837efe77012c2ef2d4c5ae610e7a7b09e2315e6d5fd8a12fd7f9db34068a15926b0dbe8f91db6a0d4f48eea722a9d  aqemu-0.9.4.tar.gz"