1 # Contributor: Jan Rueegg <rggjan at gmail dot com>
5 pkgdesc="A small, yet fast and highly automated backup script written in Ruby"
7 url="http://smarbs.sourceforge.net"
9 depends=('rsync' 'ruby>=1.9.1' 'coreutils')
10 makedepends=('subversion')
13 optdepends=("ruby-gtk2: For status icon while backupping"
14 "syslog-ng: For syslog functionality")
19 _svntrunk=https://smarbs.svn.sourceforge.net/svnroot/smarbs/trunk
25 if [ -d $_svnmod/.svn ]; then
26 (cd $_svnmod && svn up -r $pkgver)
28 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
31 msg "SVN checkout done or server timeout"
32 msg "Executing setup.rb..."
34 cp -r $_svnmod $_svnmod-build
37 ruby ./setup.rb all --prefix=${pkgdir}/usr \
38 --siterubyver=${pkgdir}/usr/lib/ruby/site_ruby/1.9.1/
42 end' > ${pkgdir}/usr/lib/ruby/site_ruby/1.9.1/smarbs/data.rb