[arch-commits] Commit in (4 files)

Maxime Gauduin alucryd at archlinux.org
Wed Mar 18 22:08:44 UTC 2020


    Date: Wednesday, March 18, 2020 @ 22:08:44
  Author: alucryd
Revision: 600706

add foldingathome

Added:
  foldingathome/
  foldingathome/trunk/
  foldingathome/trunk/PKGBUILD
  foldingathome/trunk/foldingathome.service

-----------------------+
 PKGBUILD              |   37 +++++++++++++++++++++++++++++++++++++
 foldingathome.service |   15 +++++++++++++++
 2 files changed, 52 insertions(+)

Added: foldingathome/trunk/PKGBUILD
===================================================================
--- foldingathome/trunk/PKGBUILD	                        (rev 0)
+++ foldingathome/trunk/PKGBUILD	2020-03-18 22:08:44 UTC (rev 600706)
@@ -0,0 +1,37 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: paul2lv <paul2lv at gmail.com>
+# Contributor: dtw <dibblethewrecker at gmail.com>
+
+pkgname=foldingathome
+pkgver=7.5.1
+pkgrel=1
+pkgdesc='A distributed computing project for simulating protein dynamics'
+arch=(x86_64)
+url=https://foldingathome.org/
+license=(custom)
+depends=(glibc)
+optdepends=(
+  'cuda: for folding with an NVIDIA GPU'
+  'opencl-amd: for folding with a newer AMD GPU'
+  'opencl-mesa: for folding with an older AMD GPU'
+  'opencl-nvidia: for folding with an NVIDIA GPU'
+)
+backup=(etc/foldingathome/config.xml)
+source=(
+  https://download.foldingathome.org/releases/public/release/fahclient/debian-stable-64bit/v${pkgver%.*}/fahclient_${pkgver}-64bit-release.tar.bz2
+  foldingathome.service
+)
+sha256sums=('69a2562a4bc30bf10e1954bedd8b96aaf57df7eafcfca828f29304fbbbc2521f'
+            '3adcb49fa7a596b56f00e8759798c9d2f5346d3608f097e21731a50f6306c755')
+
+package() {
+  install -Dm 755 fahclient_${pkgver}-64bit-release/FAHClient -t "${pkgdir}"/usr/bin/
+  install -Dm 755 fahclient_${pkgver}-64bit-release/FAHCoreWrapper -t "${pkgdir}"/usr/bin/
+  install -Dm 644 fahclient_${pkgver}-64bit-release/CHANGELOG.md -t "${pkgdir}"/usr/share/doc/foldingathome/
+  install -Dm 644 fahclient_${pkgver}-64bit-release/README.md -t "${pkgdir}"/usr/share/doc/foldingathome/
+  install -Dm 644 fahclient_${pkgver}-64bit-release/copyright -t "${pkgdir}"/usr/share/licenses/foldingathome/
+  install -Dm 644 fahclient_${pkgver}-64bit-release/sample-config.xml "${pkgdir}"/etc/foldingathome/config.xml
+  install -Dm 644 foldingathome.service -t "${pkgdir}"/usr/lib/systemd/system/
+}
+
+# vim: ts=2 sw=2 et:

Added: foldingathome/trunk/foldingathome.service
===================================================================
--- foldingathome/trunk/foldingathome.service	                        (rev 0)
+++ foldingathome/trunk/foldingathome.service	2020-03-18 22:08:44 UTC (rev 600706)
@@ -0,0 +1,15 @@
+[Unit]
+Description=Folding at home distributed computing client
+After=network.target
+
+[Service]
+Type=simple
+User=fah
+DynamicUser=yes
+StateDirectory=fah
+WorkingDirectory=/var/lib/fah
+ExecStart=/usr/bin/FAHClient --config /etc/foldingathome/config.xml
+
+[Install]
+WantedBy=multi-user.target
+



More information about the arch-commits mailing list