summaryrefslogtreecommitdiffstats
path: root/abs/extra/gnome-menus/PKGBUILD
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-12-01 03:34:46 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-12-01 03:34:46 (GMT)
commit9c28cd7e3775f510797ce3842d3f32f8f9ea0d5d (patch)
treed0a629a4a000fa4377b81d4f6451eaccddb9265d /abs/extra/gnome-menus/PKGBUILD
parent56a0545a8c11eaa9e0c45d0633ebfc8a6bb2a467 (diff)
downloadlinhes_pkgbuild-9c28cd7e3775f510797ce3842d3f32f8f9ea0d5d.zip
linhes_pkgbuild-9c28cd7e3775f510797ce3842d3f32f8f9ea0d5d.tar.gz
linhes_pkgbuild-9c28cd7e3775f510797ce3842d3f32f8f9ea0d5d.tar.bz2
gnome-menus: upgrade
Diffstat (limited to 'abs/extra/gnome-menus/PKGBUILD')
-rw-r--r--abs/extra/gnome-menus/PKGBUILD31
1 files changed, 19 insertions, 12 deletions
diff --git a/abs/extra/gnome-menus/PKGBUILD b/abs/extra/gnome-menus/PKGBUILD
index 491fd40..60b4632 100644
--- a/abs/extra/gnome-menus/PKGBUILD
+++ b/abs/extra/gnome-menus/PKGBUILD
@@ -1,26 +1,33 @@
-# $Id: PKGBUILD 19656 2008-11-28 20:25:40Z jgc $
+# $Id: PKGBUILD 99752 2010-11-17 11:52:09Z ibiru $
# Maintainer: Jan de Groot <jan@archlinux.org>
pkgname=gnome-menus
-pkgver=2.24.2
+pkgver=2.30.5
pkgrel=1
pkgdesc="GNOME menu specifications"
-arch=(i686 x86_64)
-depends=('pygtk>=2.13.0')
-makedepends=('pkgconfig' 'intltool')
+arch=('i686' 'x86_64')
+depends=('pygtk>=2.22.0')
+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.24/${pkgname}-${pkgver}.tar.bz2
- menus.patch)
-md5sums=('ca8e25b031fd7024b3f9abe1c6865d2c' '37b1021887f60a9cead67172e51a3a18')
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.30/${pkgname}-${pkgver}.tar.bz2
+ menus.patch)
+sha256sums=('6dcc565006d6e8c2025ae83ab1f82edf6bd04d61c804c0dc9bf5ea50629c4caa'
+ 'df2779777906b038fa911dc745534564ede9524a64ab368e2f6f8e38d54e7acc')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- patch -Np0 -i "${srcdir}/menus.patch" || return 1
+ patch -Np0 -i "${srcdir}/menus.patch"
./configure --prefix=/usr --sysconfdir=/etc \
- --localstatedir=/var \
- --disable-static || return 1
+ --localstatedir=/var \
+ --disable-static
make || return 1
- make DESTDIR="${pkgdir}" install || return 1
+}
+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
}