mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 18:14:51 +08:00
30 lines
645 B
Bash
30 lines
645 B
Bash
pkgname=aqemu
|
|
pkgver=0.9.2
|
|
pkgrel=3
|
|
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')
|
|
|
|
prepare() {
|
|
cd "$pkgname-$pkgver"
|
|
# chakra uses rcc-qt5
|
|
sed -i 's/COMMAND rcc/COMMAND rcc-qt5/g' ./CMakeLists.txt
|
|
}
|
|
|
|
build() {
|
|
|
|
cd "$pkgname-$pkgver"
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr/
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$pkgname-$pkgver"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|