diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/qemu-launcher |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/qemu-launcher')
-rw-r--r-- | community/qemu-launcher/PKGBUILD | 21 | ||||
-rw-r--r-- | community/qemu-launcher/qemu-launcher.install | 11 |
2 files changed, 32 insertions, 0 deletions
diff --git a/community/qemu-launcher/PKGBUILD b/community/qemu-launcher/PKGBUILD new file mode 100644 index 000000000..f3ce32d48 --- /dev/null +++ b/community/qemu-launcher/PKGBUILD @@ -0,0 +1,21 @@ +# Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org> +# Contributor: cs-cam <me@camdaniel.com> + +pkgname=qemu-launcher +pkgver=1.7.4 +pkgrel=2 +pkgdesc="GNOME/Gtk front-end for the Qemu x86 PC emulator" +url="http://emeitner.f2o.org/qemu_launcher" +license=('GPL') +arch=('i686' 'x86_64') +source=(http://download.gna.org/qemulaunch/1.7.x/${pkgname}_$pkgver.tar.gz) +depends=('qemu' 'gtk2-perl' 'glade-perl' 'perl-locale-gettext' 'xdg-utils') +makedepends=('libxml2') +install=qemu-launcher.install +md5sums=('bd71fd543bd2723c7ea54de81f7ccabf') + +build() { + cd $startdir/src/$pkgname-$pkgver + make PREFIX=/usr DESTDIR=$startdir/pkg install + ln -s qemu-launcher-32x32.xpm $startdir/pkg/usr/share/pixmaps/qemu-launcher.xpm +} diff --git a/community/qemu-launcher/qemu-launcher.install b/community/qemu-launcher/qemu-launcher.install new file mode 100644 index 000000000..c5571196e --- /dev/null +++ b/community/qemu-launcher/qemu-launcher.install @@ -0,0 +1,11 @@ +post_install() { + which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true +} + +post_upgrade() { + which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true +} + +post_remove() { + which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true +} |