1 #Maintainer: John Williams <jwilliams4200 gmail>
5 pkgdesc="Snapshot RAID, backup storage arrays and maintain checksums on all data"
7 url="http://snapraid.sourceforge.net/"
10 source=("http://sourceforge.net/projects/snapraid/files/snapraid-${pkgver}.tar.gz"
11 "${pkgname}_num-content.diff.patch")
12 md5sums=('f705819e9f9be14fbfcbffdb581f1404'
13 '190bbd077f4123fca9be7527bb6561c8')
16 cd "$srcdir/$pkgname-$pkgver"
17 patch -uN state.c ../${pkgname}_num-content.diff.patch || return 1
18 ./configure --prefix=/usr
23 cd "$srcdir/$pkgname-$pkgver"
24 make check || return 1
28 cd "$srcdir/$pkgname-$pkgver"
29 make DESTDIR="$pkgdir/" install
30 install -D -m644 snapraid.conf.example $pkgdir/usr/share/$pkgname/snapraid.conf.example
31 install -D -m644 AUTHORS $pkgdir/usr/share/$pkgname/AUTHORS
32 install -D -m644 HISTORY $pkgdir/usr/share/$pkgname/HISTORY
33 install -D -m644 README $pkgdir/usr/share/$pkgname/README
34 install -D -m644 TODO $pkgdir/usr/share/$pkgname/TODO