1 # Maintainer: György Balló <ballogy@freestart.hu>
5 pkgdesc="A system administration tool to define and deploy desktop profiles for the GNOME desktop environment"
7 url="http://live.gnome.org/Sabayon"
9 depends=('pyxdg' 'pessulus' 'xorg-server-xephyr' 'libsm' 'hicolor-icon-theme' 'xdg-utils')
10 makedepends=('intltool>=0.40.0' 'gnome-doc-utils>=0.17.3')
11 optdepends=('gksu: to run sabayon directly from menu')
13 install=$pkgname.install
14 source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2)
15 sha256sums=('eff725ae2dad3d55a3580a83b821e2279787b5e3dfb280a1c38fa39d40dcc73a')
18 cd "$srcdir/$pkgname-$pkgver"
19 sed -i 's@^#!.*python$@#!/usr/bin/python2@' admin-tool/sabayon{,-{apply,session}}
20 sed -i 's/python -c/python2 -c/' configure
22 #add gksu to desktop file
23 sed -i 's/Exec=/Exec=gksu /' admin-tool/sabayon.desktop{,.in{,.in}}
25 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir="/usr/lib/$pkgname" \
26 --disable-static --disable-scrollkeeper \
27 --with-distro=frugalware \
33 cd "$srcdir/$pkgname-$pkgver"
35 make DESTDIR="$pkgdir/" install