1 # Maintainer: Xavier Corredor <xavier.corredor.llano (a) gmail.com>
6 pkgdesc="YADSync (yet another directories sync, PyKDE/PyGTK GUI for rsync) is a simple tool to easy synchronize a set of directories."
7 url="http://yadsync.le-web.org"
10 if [ `which gnome-session` ]; then
11 depends=('rsync' 'python2' 'pygtk')
13 elif [ `which kdeinit4` ]; then
14 depends=('rsync' 'python2')
19 source=(http://yadsync.le-web.org/download/yadsync/yadsync-${pkgver}_src.tar.gz)
20 md5sums=('39d20bf058c17aaa7545d12e41f840a5')
23 cd $startdir/src/$pkgname-$pkgver/common
24 ./configure --prefix=/usr || return 1
27 sed -i 's|python|python2|g' yadsync
28 make DESTDIR=${pkgdir} install || return 1
30 cd $startdir/src/$pkgname-$pkgver/$_de
31 ./configure --prefix=/usr || return 1
34 sed -i 's|python|python2|g' yadsync-${_de}
35 make DESTDIR=${pkgdir} install