updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / gibak / PKGBUILD
blobc5fc5cee7197115ee866ea2c6eadcaab0d2fa1d3
1 # Contributor: DonVla <donvla@users.sourceforge.net>
2 # Contributor: Dave Pretty <david d o t pretty a t gmail d o t com>
4 pkgname=gibak
5 pkgver=0.3.0
6 pkgrel=3
7 pkgdesc="A better backup system based on Git"
8 arch=(i686 x86_64)
9 url="http://eigenclass.org/hiki/gibak-backup-system-introduction"
10 license=('GPL')
11 depends=('git' 'rsync')
12 makedepends=('omake')
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')
17 build() {
18   cd "$srcdir/$pkgname-$pkgver"
19   patch -Np0 < ../OMakefile.patch
20   patch -Np1 < ../git-1.6_undashed_commands.patch
21   patch -Np1 < ../gist.patch
22   omake || return 1
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: