1 # Contributor: Snorre Jensen snojen@gmail.com
6 pkgdesc="Framework for rdiff-backup to make it easy to set up a backup solution"
8 url="http://slbackup.alioth.debian.org/"
10 depends=(rdiff-backup perl-config-general perl-net-dns)
13 install=${pkgname}.install
14 source=(https://alioth.debian.org/frs/download.php/3220/${pkgname}_${pkgver}.orig.tar.gz)
16 md5sums=('8e8816d4cb1b1abc1bcca0a453614c33')
19 cd $startdir/src/${pkgname}-${pkgver}
20 mkdir -p $pkgdir/etc/${pkgname}/pre.d
21 mkdir -p $pkgdir/etc/${pkgname}/post.d
22 mkdir -p $pkgdir/etc/cron.d
23 mkdir -p $pkgdir/usr/share/${pkgname}
24 mkdir -p $pkgdir/usr/share/perl5/core_perl
25 mkdir -p $pkgdir/usr/share/doc/${pkgname}
26 mkdir -p $pkgdir/var/log/${pkgname}/
27 cp conf/${pkgname}-cron $pkgdir/usr/share/doc/${pkgname}/
28 cp src/${pkgname}-cron $pkgdir/usr/share/${pkgname}/
29 cp src/SLBackup.pm $pkgdir/usr/share/perl5/core_perl/
30 cp -r docs/* $pkgdir/usr/share/doc/${pkgname}/
31 cp CHANGELOG $pkgdir/usr/share/doc/${pkgname}/
32 cp TODO $pkgdir/usr/share/doc/${pkgname}/
33 cp COPYING $pkgdir/usr/share/doc/${pkgname}/
34 cp conf/${pkgname}.conf $pkgdir/usr/share/doc/${pkgname}/