1 # Maintainer: Nuno Araujo <nuno.araujo at russo79.com>
2 pkgname=gnome15-panel-applet
5 pkgdesc="Panel applet for gnome15"
7 url="http://www.gnome15.org/"
9 depends=(gnome15 python-gnomeapplet)
10 source=(http://www.gnome15.org/downloads/Gnome15/Desktop/$pkgname-$pkgver.tar.gz
13 md5sums=('626eb957a0f6722a899d37297ec24f91'
14 '5a86cbe7ae05776246f26b77b18aa327')
17 cd "$srcdir/$pkgname-$pkgver"
20 for file in $(find . -type f -name '*' -print); do
21 sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file
22 sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
25 patch -p1 -i ../python2.patch
27 export PYTHON_VERSION=2
29 ./configure --prefix=/usr
34 cd "$srcdir/$pkgname-$pkgver"
36 make DESTDIR="$pkgdir/" install
39 # vim:set ts=2 sw=2 et: