[arch-commits] Commit in foldingathome (4 files)
Maxime Gauduin
alucryd at archlinux.org
Wed Mar 18 22:11:41 UTC 2020
Date: Wednesday, March 18, 2020 @ 22:11:40
Author: alucryd
Revision: 600716
archrelease: copy trunk to community-x86_64
Added:
foldingathome/repos/
foldingathome/repos/community-x86_64/
foldingathome/repos/community-x86_64/PKGBUILD
(from rev 600715, foldingathome/trunk/PKGBUILD)
foldingathome/repos/community-x86_64/foldingathome.service
(from rev 600715, foldingathome/trunk/foldingathome.service)
-----------------------+
PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
foldingathome.service | 15 +++++++++++++++
2 files changed, 56 insertions(+)
Copied: foldingathome/repos/community-x86_64/PKGBUILD (from rev 600715, foldingathome/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD (rev 0)
+++ repos/community-x86_64/PKGBUILD 2020-03-18 22:11:40 UTC (rev 600716)
@@ -0,0 +1,41 @@
+# 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=(
+ gcc-libs
+ glibc
+ zlib
+)
+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:
Copied: foldingathome/repos/community-x86_64/foldingathome.service (from rev 600715, foldingathome/trunk/foldingathome.service)
===================================================================
--- repos/community-x86_64/foldingathome.service (rev 0)
+++ repos/community-x86_64/foldingathome.service 2020-03-18 22:11:40 UTC (rev 600716)
@@ -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