aboutsummaryrefslogtreecommitdiffstats
path: root/testing/aqemu/APKBUILD
blob: b9751619764d7d2596f9fe09807365cf17c25ddf (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
35
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=aqemu
pkgver=0.9.2
pkgrel=2
pkgdesc="GUI for virtual machines using QEMU as the backend"
url="https://sourceforge.net/projects/aqemu/"
arch="all"
license="GPL-2.0"
depends="qemu"
makedepends="cmake libvncserver-dev bzip2 qt5-qtbase-dev glib-dev"
install=""
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/tobimensch/$pkgname/archive/v$pkgver.tar.gz
aqemu-0.9.2-qtbindir.patch
alpine.png"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	install -m644 "$srcdir"/alpine.png resources/os_icons
	cmake \
		-DCMAKE_INSTALL_PREFIX="/usr" \
		-DMAN_PAGE_COMPRESSOR=gzip
	make || return 1
}

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

sha512sums="9d4808172ee1be82509956560e4d3f9ee349fedd920342146083cc9bc79ef51fc95937c64f20ffb13e2849c577f95f59b5b65271d6e29e2d2e1ec2d1562006ba  aqemu-0.9.2.tar.gz
f85e6c2487dfef86470773949f6796af9efdf066d9871ac4cdfddd064c85fbf893574e602ab2c6cd1198dc9eb76f0722b5a85ec046b2dca2275a24799418c996  aqemu-0.9.2-qtbindir.patch
9de8676b8e9fd2901ba5294c473f62cd5aa7b8ad967622f9993e461b5cdd95d5956009dcf722204b430e9fa37c67e64279aa4dcfd83a69504fec1d3d39e50ea9  alpine.png"