updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / openduckbill / PKGBUILD
blob8313115246a206d95019315f139612a7350949d2
1 # Contributor: Aaron Bishop <erroneous@gmail.com>
2 pkgname=openduckbill
3 pkgver=1.0.0
4 pkgrel=1
5 pkgdesc="Openduckbill is a simple command line backup tool for Linux"
6 arch=(i686)
7 url="http://code.google.com/p/openduckbill/"
8 license=('GPL2')
9 groups=()
10 depends=(python24 rsync openssh python-yaml)
11 makedepends=()
12 provides=()
13 conflicts=()
14 replaces=()
15 backup=()
16 options=()
17 install=openduckbill.install
18 source=(http://openduckbill.googlecode.com/files/$pkgname-$pkgver.tar.bz2 \
19         openduckbill.install openduckbill openduckbill.conf)
20 md5sums=('7cb6725871b84547de9b9055489b50a1'
21          'e304fc9225bb8b1bfe307438c481114d'
22          'a7ea64d7fcea2b24b191a2de96d0b1a9'
23          'ed20ae99cd70c556fb002048fda37e39')
24 build() {
25   cd "$srcdir/$pkgname-$pkgver"
27   mkdir -p $pkgdir/opt/openduckbill
28   ./install.sh $pkgdir/opt/openduckbill || return 1
29   mkdir -p $pkgdir/etc/rc.d
30   cp $srcdir/openduckbill $pkgdir/etc/rc.d/
31   cp $srcdir/openduckbill.conf $pkgdir/etc/
32