1 # Contributor: DonVla <donvla@users.sourceforge.net>
2 # Contributor: Dave Pretty <david d o t pretty a t gmail d o t com>
7 pkgdesc="A better backup system based on Git"
9 url="http://eigenclass.org/hiki/gibak-backup-system-introduction"
11 depends=('git' 'rsync')
13 #install=$pkgname.install
14 source=(http://eigenclass.org/static/gibak/$pkgname-$pkgver.tar.gz OMakefile.patch git-1.6_undashed_commands.patch gist.patch)
15 md5sums=('e3c14b5c1fe92cdcb3effd58c68e0793' 'e1f62e2b857741398150ff63bedd214e' '80277d1aa3f4d00d013a7204c780d8d2' '8ade9127b7b24efd96adb398ef5dc19a')
18 cd "$srcdir/$pkgname-$pkgver"
19 patch -Np0 < ../OMakefile.patch
20 patch -Np1 < ../git-1.6_undashed_commands.patch
21 patch -Np1 < ../gist.patch
23 install -D -m 0755 find-git-files $pkgdir/usr/bin/find-git-files
24 install -m 0755 find-git-repos $pkgdir/usr/bin/find-git-repos
25 install -m 0755 gibak $pkgdir/usr/bin/gibak
26 install -m 0755 ometastore $pkgdir/usr/bin/ometastore
27 install -D -m 0644 README.txt $pkgdir/usr/share/gibak/README
29 # vim:set ts=2 sw=2 et: