1 # Contributor: markiza@gmail.com
7 pkgdesc="REOBack is a backup solution designed for Linux users and system administrators."
9 depends=('perl' 'tar' 'gzip')
12 url="http://reoback.sourceforge.net/"
13 source=("http://dfn.dl.sourceforge.net/sourceforge/reoback/$pkgname-1.0_r3.tar.gz http://surfnet.dl.sourceforge.net/sourceforge/reoback/$pkgname-1.0_r3.tar.gz")
14 md5sums=('864f8f44f2124be113838b85c405ffe1')
15 install=$pkgname.install
16 DOK="BUGS CHANGES LICENSE INSTALL MANUALS README TODO"
19 mkdir -p $startdir/pkg/etc/$pkgname
20 mkdir -p $startdir/pkg/usr/bin
21 mkdir -p $startdir/pkg/usr/share/$pkgname
22 mkdir -p $startdir/pkg/var/lib/$pkgname/tmp
23 mkdir -p $startdir/pkg/var/lib/$pkgname/data
25 cp $startdir/src/$pkgname-$pkgver/conf/*.conf $startdir/pkg/etc/reoback
26 cp $startdir/src/$pkgname-$pkgver/reoback.pl $startdir/pkg/usr/bin
27 cat $startdir/src/$pkgname-$pkgver/run_reoback.sh | sed -e 's/\/home\/sforge\/reoback\/settings.conf/\/etc\/reoback\/settings.conf/' > $startdir/src/tmp1
28 cat $startdir/src/tmp1 | sed -e 's/\/home\/sforge\/reoback\/reoback.pl/\/usr\/bin\/reoback.pl/' > $startdir/pkg/usr/bin/run_reoback.sh
29 chmod 755 $startdir/pkg/usr/bin/run_reoback.sh
30 rm -f $startdir/src/tmp1
32 cp -r $startdir/src/$pkgname-$pkgver/docs/$I $startdir/pkg/usr/share/$pkgname
34 install -D -m644 $startdir/src/$pkgname-$pkgver/docs/man/$pkgname.1.gz $startdir/pkg/usr/man/man1/$pkgname.1.gz
35 install -D -m644 $startdir/src/$pkgname-$pkgver/docs/man/$pkgname.pl.1.gz $startdir/pkg/usr/man/man1/$pkgname.pl.1.gz