1 # Maintainer: M.Carreira <arch@carreira.com.pt>
2 # Contributor: M.Carreira <arch@carreira.com.pt>
6 pkgdesc="Converts a single linux system disk in to a software raid 1 (mirror) system with 2 disks"
8 url="http://sourceforge.net/projects/raider/"
10 depends=('mdadm>=2.6' 'parted>=2.0' 'bash>=3.0' 'coreutils' 'util-linux' 'hdparm' 'cpio')
13 source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname-$pkgver.tar.gz)
14 md5sums=('222778a33a86e6cfbbf18f8b0ffde33f')
17 cd "${srcdir}/${pkgname}-${pkgver}"
18 install -d ${pkgdir}/usr/lib/raider
19 install -d ${pkgdir}/usr/sbin
20 install -m 755 -t ${pkgdir}/usr/lib/raider src/lib/*
21 install -p -o 0 -g 0 -m 755 src/sbin/raider ${pkgdir}/usr/sbin
22 install -p -o 0 -g 0 -m 755 src/sbin/raiderl ${pkgdir}/usr/sbin
23 install -p -o 0 -g 0 -m 755 src/sbin/raiderld ${pkgdir}/usr/sbin
24 install -d ${pkgdir}/var/lib/raider
25 install -d ${pkgdir}/var/log/raider -m 777
26 DOCDIR_INST=${pkgdir}/usr/share/doc/${pkgname}-${pkgver}
27 install -d ${DOCDIR_INST}
28 install -m 644 AUTHORS BUGS_AND_FIXES COPYING ChangeLog FAQ INSTALL README TODO ${DOCDIR_INST}
31 # vim:set ts=2 sw=2 et: