aboutsummaryrefslogtreecommitdiffstats
path: root/testing/aqemu/APKBUILD
blob: 31690c51fb3b8446a0ba293780bf88165dcf3671 (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.2
pkgrel=0
pkgdesc="GUI for virtual machines using QEMU as the backend"
url="https://sourceforge.net/projects/aqemu/"
arch="all"
license="GPL2"
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"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	cmake -DCMAKE_INSTALL_PREFIX="/usr"
	make || return 1
}

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

md5sums="cd7f6077a5a49a25450dc007532b0f95  aqemu-0.9.2.tar.gz
7ca1daaed628ece86ca565630ea340ef  aqemu-0.9.2-qtbindir.patch"
sha256sums="e3d54de00ebdce3754f97f7e0e7cce8cebb588e8ce6bc249401cc909281b08de  aqemu-0.9.2.tar.gz
b1ed61da27c97ebf689b17463d876c39fd84e2e99ed3f4921295f3f627b9a59a  aqemu-0.9.2-qtbindir.patch"
sha512sums="9d4808172ee1be82509956560e4d3f9ee349fedd920342146083cc9bc79ef51fc95937c64f20ffb13e2849c577f95f59b5b65271d6e29e2d2e1ec2d1562006ba  aqemu-0.9.2.tar.gz
f85e6c2487dfef86470773949f6796af9efdf066d9871ac4cdfddd064c85fbf893574e602ab2c6cd1198dc9eb76f0722b5a85ec046b2dca2275a24799418c996  aqemu-0.9.2-qtbindir.patch"