diff options
author | root <root@rshg047.dnsready.net> | 2011-05-01 22:33:26 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-05-01 22:33:26 +0000 |
commit | 40f0b1c7106cc1fed13f14e80f083ecd69c416f5 (patch) | |
tree | faeb03af48db54c663f74f3f188b9c1c56ca6a0b /extra/gnome-menus | |
parent | c173ac862828a54925737fc1d90ede1dd09a312c (diff) |
Sun May 1 22:33:26 UTC 2011
Diffstat (limited to 'extra/gnome-menus')
-rw-r--r-- | extra/gnome-menus/PKGBUILD | 32 |
1 files changed, 19 insertions, 13 deletions
diff --git a/extra/gnome-menus/PKGBUILD b/extra/gnome-menus/PKGBUILD index c7f0d577d..0a0067d13 100644 --- a/extra/gnome-menus/PKGBUILD +++ b/extra/gnome-menus/PKGBUILD @@ -1,30 +1,36 @@ -# $Id: PKGBUILD 101155 2010-11-28 13:11:57Z ibiru $ +# $Id: PKGBUILD 120868 2011-04-26 21:47:42Z ibiru $ # Maintainer: Jan de Groot <jan@archlinux.org> pkgname=gnome-menus -pkgver=2.30.5 +pkgver=3.0.1 pkgrel=1 pkgdesc="GNOME menu specifications" arch=('i686' 'x86_64') -depends=('pygtk>=2.22.0') -makedepends=('pkg-config' 'intltool' 'gobject-introspection') -options=('!libtool' '!makeflags') +depends=('glib2' 'python2') +makedepends=('intltool' 'gobject-introspection') +options=('!libtool') license=('GPL' 'LGPL') url="http://www.gnome.org" -source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.30/${pkgname}-${pkgver}.tar.bz2 +source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2 menus.patch) -sha256sums=('6dcc565006d6e8c2025ae83ab1f82edf6bd04d61c804c0dc9bf5ea50629c4caa' +sha256sums=('579c119c26f37781f66708e867ea45b3c37589b3b69e5b32d33e9bdb944165f0' 'df2779777906b038fa911dc745534564ede9524a64ab368e2f6f8e38d54e7acc') build() { cd "${srcdir}/${pkgname}-${pkgver}" - patch -Np0 -i "${srcdir}/menus.patch" - PYTHON=python2 ./configure --prefix=/usr --sysconfdir=/etc \ - --localstatedir=/var \ - --disable-static + + patch -Np0 -i "$srcdir/menus.patch" + + 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|" \ - $pkgdir/usr/lib/python2.7/site-packages/GMenuSimpleEditor/config.py + sed -i "1s|#!/usr/bin/env python$|&2|" \ + "$pkgdir/usr/lib/python2.7/site-packages/GMenuSimpleEditor/config.py" } |