2016-06-09 01:58:22 +08:00
|
|
|
pkgname=aqemu
|
|
|
|
pkgver=0.9.2
|
2017-06-03 05:21:04 +08:00
|
|
|
pkgrel=3
|
2016-06-09 01:58:22 +08:00
|
|
|
pkgdesc="QEMU GUI written in Qt5"
|
|
|
|
arch=('x86_64')
|
|
|
|
url="https://github.com/tobimensch/aqemu"
|
|
|
|
license=('GPL2')
|
|
|
|
depends=('qemu' 'qt5-base' 'libvncserver')
|
|
|
|
makedepends=('cmake' 'qt5-base')
|
|
|
|
source=("aqemu-$pkgver.tar.gz::https://github.com/tobimensch/aqemu/archive/v${pkgver}.tar.gz")
|
|
|
|
sha1sums=('ad8b0f7f77c3da2ce7aae80c8a06809dbf15b67a')
|
|
|
|
|
2017-06-03 05:21:04 +08:00
|
|
|
prepare() {
|
|
|
|
cd "$pkgname-$pkgver"
|
|
|
|
# chakra uses rcc-qt5
|
|
|
|
sed -i 's/COMMAND rcc/COMMAND rcc-qt5/g' ./CMakeLists.txt
|
|
|
|
}
|
|
|
|
|
2016-06-09 01:58:22 +08:00
|
|
|
build() {
|
|
|
|
|
2017-06-03 05:21:04 +08:00
|
|
|
cd "$pkgname-$pkgver"
|
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr/
|
2016-06-09 01:58:22 +08:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2017-06-03 05:21:04 +08:00
|
|
|
cd "$pkgname-$pkgver"
|
2016-06-09 01:58:22 +08:00
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|