1 # Maintainer: Christophe Gueret <christophe.gueret@gmail.com>
2 # Contributor: Cilyan Olowen <gaknar@gmail.com>
7 pkgdesc="Sugar gtk engine, themes and icons"
9 url="http://www.sugarlabs.org/"
11 groups=('sugar-desktop' 'glucose')
12 depends=('python2' 'gtk2')
13 makedepends=('icon-slicer' 'icon-naming-utils>=0.8.2' 'gcc' 'xorg-xcursorgen')
14 source=(http://download.sugarlabs.org/sources/sucrose/glucose/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
15 md5sums=('3c5da23d2b43f7d66ec823b73e7980a6')
18 cd "${srcdir}/${pkgname}-${pkgver}"
19 PYTHON=python2 ./configure --prefix=/usr
21 # python2 fix (taken from pyrss PKGBUILD)
22 for file in $(find . -name '*.py' -print); do
23 sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file
24 sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
31 cd "${srcdir}/${pkgname}-${pkgver}"
32 make DESTDIR="${pkgdir}" install