1 # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
2 # Contributor: Jason Taylor <jftaylor21@gmail.com>
4 # Contributor: Nick B <Shirakawasuna at gmail _dot_com>
9 pkgdesc="Distributed computing project which studies protein folding, misfolding, aggregation, and related diseases"
11 url="http://folding.stanford.edu/"
15 backup=('etc/conf.d/foldingathome')
16 install=$pkgname.install
17 source=(http://www.stanford.edu/group/pandegroup/folding/release/FAH${pkgver}-Linux.tgz
18 archpatch_${pkgname}.diff)
19 md5sums=('112b3d66909050f1bb990993a1464cb9'
20 '02f4ca64d552b442d484c51fa5f4228a')
25 patch -p1 <archpatch_$pkgname.diff || return 1
27 install -D -c -m755 fah6 ${pkgdir}/opt/fah/fah6 || return 1
28 install -D -c -m755 ${srcdir}/foldingathome.rc.d \
29 ${pkgdir}/etc/rc.d/$pkgname || return 1
30 install -D -c -m644 ${srcdir}/$pkgname.conf.d \
31 ${pkgdir}/etc/conf.d/$pkgname || return 1
32 install -D -m644 $pkgname.license ${pkgdir}/usr/share/licenses/$pkgname/COPYING || return 1