From 7a65a910b77ad191d69881098c47f9b0c852d92e Mon Sep 17 00:00:00 2001 From: root Date: Tue, 13 Aug 2013 01:33:19 -0700 Subject: Tue Aug 13 01:31:08 PDT 2013 --- community/qtemu/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 community/qtemu/PKGBUILD (limited to 'community/qtemu') diff --git a/community/qtemu/PKGBUILD b/community/qtemu/PKGBUILD new file mode 100644 index 000000000..75e6fd54e --- /dev/null +++ b/community/qtemu/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 85402 2013-03-01 10:39:15Z andrea $ +# Maintainer: Geoffroy Carrier +# Previous Contributor: Urs Wolfer + +pkgname=qtemu +pkgver=1.0.5 +pkgrel=8 +pkgdesc="Graphical user interface for QEMU written in Qt4" +url="http://qtemu.org" +license=("GPL") +arch=('i686' 'x86_64') +makedepends=('cmake') +depends=('qemu' 'qt4') +source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2 + http://qtemu.svn.sourceforge.net/viewvc/qtemu/trunk/qtemu/misc/qtemu.desktop) +md5sums=('3b93e209dc62e52a1d94c8eb24d0b149' + 'b323b75384fdb327728d2603979f7202') + +build() { + cd "$srcdir/$pkgname-$pkgver" + cmake -DCMAKE_INSTALL_PREFIX=/opt/qtemu . + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + install -d "$pkgdir/usr/bin" + ln -s /opt/qtemu/bin/qtemu "$pkgdir/usr/bin/qtemu" + install -Dm0644 $srcdir/qtemu.desktop $pkgdir/usr/share/applications/qtemu.desktop + install -Dm0644 images/crystal/new.png $pkgdir/usr/share/icons/qtemu.png +} -- cgit v1.2.3-54-g00ecf