summaryrefslogtreecommitdiff
path: root/community/qtemu/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/qtemu/PKGBUILD')
-rw-r--r--community/qtemu/PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/community/qtemu/PKGBUILD b/community/qtemu/PKGBUILD
new file mode 100644
index 000000000..2a0ada7e2
--- /dev/null
+++ b/community/qtemu/PKGBUILD
@@ -0,0 +1,24 @@
+# $Id: PKGBUILD 11674 2010-02-15 18:12:08Z spupykin $
+# Maintainer: Geoffroy Carrier <geoffroy.carrier@koon.fr>
+# Previous Contributor: Urs Wolfer <uwolfer @ fwo.ch>
+
+pkgname=qtemu
+pkgver=1.0.5
+pkgrel=3
+pkgdesc="Graphical user interface for QEMU written in Qt4"
+url="http://qtemu.org"
+license=("GPL")
+arch=('i686' 'x86_64')
+makedepends=('cmake')
+depends=('qemu' 'qt>=4.1')
+source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2)
+md5sums=('3b93e209dc62e52a1d94c8eb24d0b149')
+
+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"
+}