diff options
author | root <root@rshg054.dnsready.net> | 2012-03-11 03:41:21 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-03-11 03:41:21 +0000 |
commit | 4640048ddd1331c9f6fc14b8921ccecdb6b1ea11 (patch) | |
tree | 55820f9fb40cb41e3d8657278ed54cab76db602c /~emulatorman/raider/PKGBUILD | |
parent | 503034bfe282c58ff13c42c7a6b92aa062d779b5 (diff) |
Sun Mar 11 03:41:21 UTC 2012
Diffstat (limited to '~emulatorman/raider/PKGBUILD')
-rw-r--r-- | ~emulatorman/raider/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/~emulatorman/raider/PKGBUILD b/~emulatorman/raider/PKGBUILD new file mode 100644 index 000000000..960164820 --- /dev/null +++ b/~emulatorman/raider/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: M.Carreira <arch@carreira.com.pt> +# Contributor: M.Carreira <arch@carreira.com.pt> +# Contributor (Parabola): André Silva <andre.paulista@adinet.com.uy> +pkgname=raider +pkgver=0.10.0 +pkgrel=1 +pkgdesc="Converts a single linux system disk in to a software raid 1, 4, 5, 6 or 10" +arch=('any') +url="http://sourceforge.net/projects/raider/" +license=('GPL2') +changelog=ChangeLog +depends=('mdadm>=2.6' 'parted>=2.0' 'bash>=3.0' 'coreutils' 'util-linux' 'hdparm' 'cpio' 'inetutils') +install=INSTALL + +source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname-$pkgver.tar.gz) +md5sums=('9150128c1cd5c58709aa0a5dd0e4c6b0') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + install -d ${pkgdir}/usr/lib/raider + install -d ${pkgdir}/usr/sbin + install -m 755 -t ${pkgdir}/usr/lib/raider src/lib/* + install -p -o 0 -g 0 -m 755 src/sbin/raider ${pkgdir}/usr/sbin + install -p -o 0 -g 0 -m 755 src/sbin/raiderl ${pkgdir}/usr/sbin + install -p -o 0 -g 0 -m 755 src/sbin/raiderld ${pkgdir}/usr/sbin + install -d ${pkgdir}/var/lib/raider + install -d ${pkgdir}/var/log/raider -m 777 + DOCDIR_INST=${pkgdir}/usr/share/doc/${pkgname}-${pkgver} + install -d ${DOCDIR_INST} + install -m 644 AUTHORS COPYING ChangeLog FAQ INSTALL README TODO ${DOCDIR_INST} +} + +# vim:set ts=2 sw=2 et: |