[arch-commits] Commit in gnome-menus/trunk (PKGBUILD)

Ionut Biru ibiru at archlinux.org
Wed Feb 16 18:18:25 UTC 2011


    Date: Wednesday, February 16, 2011 @ 13:18:25
  Author: ibiru
Revision: 110142

upgpkg: gnome-menus 2.91.6-1
update to 2.91.6

Modified:
  gnome-menus/trunk/PKGBUILD

----------+
 PKGBUILD |   21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-02-16 18:11:15 UTC (rev 110141)
+++ PKGBUILD	2011-02-16 18:18:25 UTC (rev 110142)
@@ -2,27 +2,28 @@
 # Maintainer: Jan de Groot <jan at archlinux.org>
 
 pkgname=gnome-menus
-pkgver=2.30.5
+pkgver=2.91.6
 pkgrel=1
 pkgdesc="GNOME menu specifications"
 arch=('i686' 'x86_64')
-depends=('pygtk>=2.22.0')
+depends=('glib2' 'python2')
 makedepends=('pkg-config' 'intltool' 'gobject-introspection')
 options=('!libtool' '!makeflags')
 license=('GPL' 'LGPL')
 url="http://www.gnome.org"
-source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.30/${pkgname}-${pkgver}.tar.bz2
-        menus.patch)
-sha256sums=('6dcc565006d6e8c2025ae83ab1f82edf6bd04d61c804c0dc9bf5ea50629c4caa'
-            'df2779777906b038fa911dc745534564ede9524a64ab368e2f6f8e38d54e7acc')
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.91/${pkgname}-${pkgver}.tar.bz2)
+sha256sums=('60de5b2b964e82f6bf7e1271f228bf3d7c72684e05c1fca32ab2a80d0075feb5')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  patch -Np0 -i "${srcdir}/menus.patch"
-  PYTHON=python2 ./configure --prefix=/usr --sysconfdir=/etc \
-      --localstatedir=/var \
-      --disable-static
+  PYTHON=/usr/bin/python2 ./configure \
+      --prefix=/usr --sysconfdir=/etc \
+      --localstatedir=/var  --disable-static
   make
+}
+
+package(){
+  cd "${srcdir}/${pkgname}-${pkgver}"
   make DESTDIR="${pkgdir}" install
 
   sed -i "s|#!/usr/bin/env python|#!/usr/bin/env python2|" \




More information about the arch-commits mailing list