PKGBUILDs/community/qtemu/PKGBUILD
2009-10-09 21:15:33 -05:00

22 lines
784 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Geoffroy Carrier <geoffroy.carrier@koon.fr>
# Previous Contributor: Urs Wolfer <uwolfer @ fwo.ch>
pkgname=qtemu
pkgver=1.0.5
pkgrel=2
pkgdesc="Graphical user interface for QEMU written in Qt4"
url="http://qtemu.org"
license=("GPL")
arch=('i686' 'x86_64')
makedepends=('cmake')
depends=('qemu' 'qt4>=4.1')
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2)
build() {
cd "$srcdir/$pkgname-$pkgver"
cmake -DCMAKE_INSTALL_PREFIX=/opt/qtemu . || return 1
make || return 1
make DESTDIR="$pkgdir" install || return 1
install -d "$pkgdir/usr/bin"
ln -s /opt/qtemu/bin/qtemu "$pkgdir/usr/bin/qtemu"
}
md5sums=('3b93e209dc62e52a1d94c8eb24d0b149')