summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-09-03 19:06:07 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-09-03 19:06:07 (GMT)
commit664c9c9d923d68bdc4b6454f3f73f49eba5abfdf (patch)
tree3b62251a5ffad66e65bf437eec12925eb9665d77
parentc5d26982bf61f44fdc95fabdefe3d72a86705f27 (diff)
downloadlinhes_pkgbuild-664c9c9d923d68bdc4b6454f3f73f49eba5abfdf.zip
linhes_pkgbuild-664c9c9d923d68bdc4b6454f3f73f49eba5abfdf.tar.gz
linhes_pkgbuild-664c9c9d923d68bdc4b6454f3f73f49eba5abfdf.tar.bz2
archlinux-xdg-menu: first build, needed to generate menus for various window managers
-rw-r--r--abs/core/archlinux-xdg-menu/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
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 <sergej@aur.archlinux.org>
+# Contributor: Sergej Pupykin <sergej@aur.archlinux.org>
+
+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
+}