updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / link-backup / PKGBUILD
bloba6fd310877ebc9e0f14d7dd7b5c411e1d05f3a52
1 # Contributor: Sorin Ionescu <sorin.ionescu@gmail.com>
2 pkgname=link-backup
3 pkgver=0.8
4 pkgrel=5
5 pkgdesc="Intelligent backup utility that handles renames, moves, duplicate files"
6 arch=('i686' 'x86_64')
7 depends=('python' 'openssh' 'rsync')
8 url="http://www.scottlu.com/Content/Link-Backup.html"
9 license=('unknown')
10 install=link-backup.install
11 source=(http://www.scottlu.com/files/lb.py
12         lb.cron
13         lb.exclude
14         shebang.patch
15         exclude.patch
16         root-src-fix.patch)
18 md5sums=('4acd3ea00da33ef14a87410cfcc7c987'
19          '79b92199173c8895f828b9839c88ce62'
20          '67548d6c7e00a8dab1c562e7735b93f9'
21          '8fd3cc50efd4d83db0220ad3c5f4cbac'
22          'b2ed3a9cb520e52a18ca37d8d7558557'
23          '21b1e3f881038f173efcde1fa432d6ec')
25 build()
27   cd $startdir/src
28   patch -p0 -i $startdir/src/shebang.patch || return 1
29   patch -p0 -i $startdir/src/exclude.patch || return 1
30   patch -p0 -i $startdir/src/root-src-fix.patch || return 1
31   install -D -m 755 lb.py $startdir/pkg/usr/bin/lb || return 1
32   install -D -m 755 lb.cron $startdir/pkg/usr/share/lb/lb.cron || return 1
33   install -D -m 644 lb.exclude $startdir/pkg/usr/share/lb/lb.exclude || return 1
36 # vim:set ts=2 sw=2 et: