# $Id: PKGBUILD 5349 2008-07-15 14:56:46Z eduardo $ # Maintainer: Travis Willard # Contributor: William Rea pkgname=sbackup pkgver=0.10.5 pkgrel=1 pkgdesc="A simple backup solution intended for desktop use" arch=('i686' 'x86_64') url="http://sbackup.wiki.sourceforge.net/" license=('GPL') depends=('gksu' 'gnome-python-extras') backup=('etc/sbackup.conf') source=(http://downloads.sourceforge.net/$pkgname/${pkgname}_${pkgver}.tar.gz makefile.patch) md5sums=('0d754b72da3b5cadf6de203cdf7afe13' '7aab11e4490ba3ef3df2f6e1e386d25e') build() { export MAKEFLAGS="-j1" cd $startdir/src/$pkgname-$pkgver patch -Np1 -i $startdir/src/makefile.patch sed -i -e "s/dpkg --get-selections/pacman -Q/" sbackupd.py sed -i -e "s/su-to-root -X -c/gksu/" sbackup.desktop sed -i -e "s/su-to-root -X -c/gksu/" srestore.desktop install -dm0755 $startdir/pkg/{usr/share/applications,etc} make PREFIX=/usr DESTDIR=$startdir/pkg install }