updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / gnome15-systemtray / PKGBUILD
blob616e60863b9086f666384b13d3e83ccfd64d0ef4
1 # Maintainer: Nuno Araujo <nuno.araujo at russo79.com>
2 pkgname=gnome15-systemtray
3 pkgver=0.0.2
4 pkgrel=1
5 pkgdesc="System tray icon for gnome15"
6 arch=(any)
7 url="http://www.gnome15.org"
8 license=('GPL')
9 depends=(gnome15)
10 source=(http://www.gnome15.org/downloads/Gnome15/Desktop/$pkgname-$pkgver.tar.gz)
11 md5sums=('5328a4badc3c8b58801e3fadffe307fa')
13 build() {
14   cd "$srcdir/$pkgname-$pkgver"
16   # python2 fix
17   for file in $(find . -type f -name '*' -print); do
18     sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file
19     sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
20   done
22   export PYTHON_VERSION=2
23   export PYTHON=python2
24   ./configure --prefix=/usr --sysconfdir=/etc
25   make
28 package() {
29   cd "$srcdir/$pkgname-$pkgver"
31   make DESTDIR="$pkgdir/" install
34 # vim:set ts=2 sw=2 et: