diff options
author | root <root@rshg054.dnsready.net> | 2012-09-26 00:54:07 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-09-26 00:54:07 -0700 |
commit | 483f8b3ac46ac2d40e8cc2f9c25365741bebc791 (patch) | |
tree | 296f95ddbf8e5cd3ddfeea60e88a64b3593f9e1e /gnome-unstable/gnome-menus/PKGBUILD | |
parent | fca7e8a735bd3ae5114a3cdf12efbce3b1d10224 (diff) |
Wed Sep 26 00:54:06 PDT 2012
Diffstat (limited to 'gnome-unstable/gnome-menus/PKGBUILD')
-rw-r--r-- | gnome-unstable/gnome-menus/PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/gnome-unstable/gnome-menus/PKGBUILD b/gnome-unstable/gnome-menus/PKGBUILD new file mode 100644 index 000000000..2a1fda39e --- /dev/null +++ b/gnome-unstable/gnome-menus/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 167081 2012-09-25 09:50:30Z jgc $ +# Maintainer: Jan de Groot <jan@archlinux.org> + +pkgname=gnome-menus +pkgver=3.5.92 +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=('e56022b4329e97fdcadf0c70212dba04c4da9c51be2036e6c931ab0fd48fef0f' + '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" +} |