summaryrefslogtreecommitdiff
path: root/testing/aqemu/APKBUILD
blob: eb370ed8667bce7c8c77e5d277cf1ef9b53fc670 (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
38
39
40
41
# 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="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
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
}

md5sums="cd7f6077a5a49a25450dc007532b0f95  aqemu-0.9.2.tar.gz
7ca1daaed628ece86ca565630ea340ef  aqemu-0.9.2-qtbindir.patch
c5753d791066c58a77f09a13b375830d  alpine.png"
sha256sums="e3d54de00ebdce3754f97f7e0e7cce8cebb588e8ce6bc249401cc909281b08de  aqemu-0.9.2.tar.gz
b1ed61da27c97ebf689b17463d876c39fd84e2e99ed3f4921295f3f627b9a59a  aqemu-0.9.2-qtbindir.patch
1629ad24ac112e46ac3d576d8dbc21c038e38d68db5a50ad93a8a3c8969aaf87  alpine.png"
sha512sums="9d4808172ee1be82509956560e4d3f9ee349fedd920342146083cc9bc79ef51fc95937c64f20ffb13e2849c577f95f59b5b65271d6e29e2d2e1ec2d1562006ba  aqemu-0.9.2.tar.gz
f85e6c2487dfef86470773949f6796af9efdf066d9871ac4cdfddd064c85fbf893574e602ab2c6cd1198dc9eb76f0722b5a85ec046b2dca2275a24799418c996  aqemu-0.9.2-qtbindir.patch
9de8676b8e9fd2901ba5294c473f62cd5aa7b8ad967622f9993e461b5cdd95d5956009dcf722204b430e9fa37c67e64279aa4dcfd83a69504fec1d3d39e50ea9  alpine.png"