1 # Contributor: Hervé Cauwelier <herve ¤ oursours.net>
5 pkgdesc="(pseudo) incremental backup with different exclude lists using hardlinks and rsync"
7 url="http://www.nico.schottelius.org/software/ccollect/"
10 makedepends=('asciidoc')
11 source=(http://www.nico.schottelius.org/software/$pkgname/download/$pkgname-$pkgver.tar.bz2)
12 md5sums=('4b7e0fb9c8d1ae989582d2020996fa67')
15 cd "$srcdir/$pkgname-$pkgver"
18 prefix="$pkgdir/opt/ccollect"
21 make prefix=$prefix path_dir=$tmpdir manlink=$tmpdir install || return 1
23 # Now drop f*** symlinks
27 mkdir -p $pkgdir/usr/bin
29 for binary in $prefix/bin/*
31 ln -s /opt/ccollect/bin/$(basename $binary) || return 1
35 mkdir -p $pkgdir/usr/man/man1
36 cd $pkgdir/usr/man/man1
37 for manpage in $prefix/man/man1/*
39 ln -s /opt/ccollect/man/man1/$(basename $manpage).gz || return 1