summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/community/foldingathome/PKGBUILD
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-01-26 19:35:29 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-01-26 19:35:29 (GMT)
commit6980e3d3f5dbc51bd787c2ad490dc7b3c160199c (patch)
tree30395623abc4d387d688d82effbe1e76358c773b /abs/extra-testing/community/foldingathome/PKGBUILD
parent1c50f83d6e7d4b0f5bdff9edd9e3a71a25abe423 (diff)
downloadlinhes_pkgbuild-6980e3d3f5dbc51bd787c2ad490dc7b3c160199c.zip
linhes_pkgbuild-6980e3d3f5dbc51bd787c2ad490dc7b3c160199c.tar.gz
linhes_pkgbuild-6980e3d3f5dbc51bd787c2ad490dc7b3c160199c.tar.bz2
Initial PKGBUILD for Folding at Home.
Diffstat (limited to 'abs/extra-testing/community/foldingathome/PKGBUILD')
-rw-r--r--abs/extra-testing/community/foldingathome/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/abs/extra-testing/community/foldingathome/PKGBUILD b/abs/extra-testing/community/foldingathome/PKGBUILD
new file mode 100644
index 0000000..411702c
--- /dev/null
+++ b/abs/extra-testing/community/foldingathome/PKGBUILD
@@ -0,0 +1,28 @@
+# Contributor: Jason Taylor <jftaylor21@gmail.com>
+# Contributor: seratne
+# Contributor: Nick B <Shirakawasuna at gmail _dot_com>
+
+pkgname=foldingathome
+pkgver=6.02
+pkgrel=1
+pkgdesc="Folding@Home is a distributed computing project which studies protein folding, misfolding, aggregation, and related diseases."
+arch=('i686')
+url="http://folding.stanford.edu/"
+license=('custom')
+depends=('bash')
+backup=('etc/conf.d/foldingathome')
+install=foldingathome.install
+source=(http://www.stanford.edu/group/pandegroup/folding/release/FAH$pkgver-Linux.tgz
+ archpatch_foldingathome.diff)
+md5sums=('112b3d66909050f1bb990993a1464cb9'
+ '02f4ca64d552b442d484c51fa5f4228a')
+
+build() {
+ cd $startdir/src/
+ patch -p1 <archpatch_foldingathome.diff
+ install -D -c -m755 fah6 $startdir/pkg/opt/fah/fah6 || return 1
+ install -D -c -m755 $startdir/src/foldingathome.rc.d $startdir/pkg/etc/rc.d/foldingathome || return 1
+ install -D -c -m644 $startdir/src/foldingathome.conf.d $startdir/pkg/etc/conf.d/foldingathome || return 1
+ install -D -m644 foldingathome.license $startdir/pkg/usr/share/licenses/$pkgname/COPYING
+
+}