[arch-commits] Commit in gnome-menus/repos (4 files)

Jan Steffens heftig at archlinux.org
Sun Apr 1 07:33:27 EDT 2012


    Date: Sunday, April 1, 2012 @ 07:33:27
  Author: heftig
Revision: 155124

db-move: moved gnome-menus from [gnome-unstable] to [testing] (i686)

Added:
  gnome-menus/repos/testing-i686/
  gnome-menus/repos/testing-i686/PKGBUILD
    (from rev 155005, gnome-menus/repos/gnome-unstable-i686/PKGBUILD)
  gnome-menus/repos/testing-i686/menus.patch
    (from rev 155005, gnome-menus/repos/gnome-unstable-i686/menus.patch)
Deleted:
  gnome-menus/repos/gnome-unstable-i686/

-------------+
 PKGBUILD    |   36 ++++++++++++++++++++++++++++++++++++
 menus.patch |   25 +++++++++++++++++++++++++
 2 files changed, 61 insertions(+)

Copied: gnome-menus/repos/testing-i686/PKGBUILD (from rev 155005, gnome-menus/repos/gnome-unstable-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2012-04-01 11:33:27 UTC (rev 155124)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Jan de Groot <jan at archlinux.org>
+
+pkgname=gnome-menus
+pkgver=3.4.0
+pkgrel=1
+pkgdesc="GNOME menu specifications"
+arch=('i686' 'x86_64')
+depends=('glib2' 'python2-gobject')
+makedepends=('intltool' 'gobject-introspection')
+options=('!libtool')
+license=('GPL' 'LGPL')
+url="http://www.gnome.org"
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz
+        menus.patch)
+sha256sums=('199ce6bce3e24cbab8aed7f3488e7557a8f365314eae354aa2b50727b2f11f86'
+            'df2779777906b038fa911dc745534564ede9524a64ab368e2f6f8e38d54e7acc')
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  patch -Np0 -i "$srcdir/menus.patch"
+
+  PYTHON=/usr/bin/python2 ./configure \
+      --prefix=/usr --sysconfdir=/etc \
+      --localstatedir=/var  --disable-static
+  make
+}
+
+package(){
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+
+  sed -i "1s|#!/usr/bin/env python$|&2|" \
+    "$pkgdir/usr/lib/python2.7/site-packages/GMenuSimpleEditor/config.py"
+}

Copied: gnome-menus/repos/testing-i686/menus.patch (from rev 155005, gnome-menus/repos/gnome-unstable-i686/menus.patch)
===================================================================
--- testing-i686/menus.patch	                        (rev 0)
+++ testing-i686/menus.patch	2012-04-01 11:33:27 UTC (rev 155124)
@@ -0,0 +1,25 @@
+--- layout/applications.menu	2005-06-28 10:16:39.000000000 +0200
++++ layout/applications.menu	2005-09-12 23:21:20.000000000 +0200
+@@ -7,7 +7,6 @@
+   <Directory>Applications.directory</Directory>
+ 
+   <!-- Scan legacy dirs first, as later items take priority -->
+-  <KDELegacyDirs/>
+   <LegacyDir>/etc/X11/applnk</LegacyDir>
+   <LegacyDir>/usr/share/gnome/apps</LegacyDir>
+ 
+@@ -18,6 +17,14 @@
+   <!-- Read in overrides and child menus from applications-merged/ -->
+   <DefaultMergeDirs/>
+ 
++  <!-- Archlinux submenu -->
++  <Menu>
++    <Name>Archlinux</Name>
++    <Directory>Archlinux.directory</Directory>
++    <Include>
++      <Category>Archlinux</Category>
++    </Include>
++  </Menu> <!-- End Archlinux -->
+   <!-- Accessories submenu -->
+   <Menu>
+     <Name>Accessories</Name>



More information about the arch-commits mailing list