summaryrefslogtreecommitdiff
path: root/gnome-unstable/gnome-menus/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'gnome-unstable/gnome-menus/PKGBUILD')
-rw-r--r--gnome-unstable/gnome-menus/PKGBUILD36
1 files changed, 0 insertions, 36 deletions
diff --git a/gnome-unstable/gnome-menus/PKGBUILD b/gnome-unstable/gnome-menus/PKGBUILD
deleted file mode 100644
index 02778780c..000000000
--- a/gnome-unstable/gnome-menus/PKGBUILD
+++ /dev/null
@@ -1,36 +0,0 @@
-# $Id: PKGBUILD 152847 2012-03-09 21:34:34Z ibiru $
-# Maintainer: Jan de Groot <jan@archlinux.org>
-
-pkgname=gnome-menus
-pkgver=3.3.5
-pkgrel=1
-pkgdesc="GNOME menu specifications"
-arch=('i686' 'x86_64')
-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/${pkgver%.*}/$pkgname-$pkgver.tar.xz
- menus.patch)
-sha256sums=('92f640bdb96dacbfcbf183bac1657cc52dd2ddf866b4b33504d01719dbd951d5'
- '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"
-}