From 664c9c9d923d68bdc4b6454f3f73f49eba5abfdf Mon Sep 17 00:00:00 2001 From: James Meyer Date: Mon, 3 Sep 2012 14:06:07 -0500 Subject: archlinux-xdg-menu: first build, needed to generate menus for various window managers --- abs/core/archlinux-xdg-menu/PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 abs/core/archlinux-xdg-menu/PKGBUILD diff --git a/abs/core/archlinux-xdg-menu/PKGBUILD b/abs/core/archlinux-xdg-menu/PKGBUILD new file mode 100644 index 0000000..7d716b9 --- /dev/null +++ b/abs/core/archlinux-xdg-menu/PKGBUILD @@ -0,0 +1,30 @@ +# $Id$ +# Maintainer: Sergej Pupykin +# Contributor: Sergej Pupykin + +pkgname=archlinux-xdg-menu +pkgver=0.7.5.4 +pkgrel=2 +pkgdesc="automatic generate WM menu from xdg files" +arch=('any') +url="http://wiki.archlinux.org/index.php/XdgMenu" +license=("GPL") +depends=('perl' 'perlxml') +optdepends=('sux: for xdg_menu_su') +backup=("etc/update-menus.conf" + "etc/xdg/menus/arch-applications.menu") +source=("http://archlinux-stuff.googlecode.com/files/arch-xdg-menu-$pkgver.tar.gz") +md5sums=('f3efc444d1d1a20fa93fa53eff96ef1b') + +build() { + cd $srcdir + install -D -m 0755 xdg_menu $pkgdir/usr/bin/xdg_menu + install -D -m 0755 xdg_menu_su $pkgdir/usr/bin/xdg_menu_su + install -D -m 0755 update-menus $pkgdir/usr/sbin/update-menus + install -D -m 0644 update-menus.conf $pkgdir/etc/update-menus.conf + mkdir -p $pkgdir/usr/share/desktop-directories/ + cp arch-desktop-directories/* $pkgdir/usr/share/desktop-directories/ + mkdir -p $pkgdir/etc/xdg/menus/ + cp arch-xdg-menu/* $pkgdir/etc/xdg/menus/ + mkdir -p $pkgdir//var/cache/xdg-menu +} -- cgit v0.12