summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Kharitonov2017-06-02 12:07:56 +0500
committerDmitry Kharitonov2017-06-02 12:07:56 +0500
commitcc5e43b5bae14838dbfec553049de79b29b5df21 (patch)
treebece69e204d38d1747d6f5e9e6e54235130f88cf
downloadaur-cc5e43b5bae14838dbfec553049de79b29b5df21.tar.gz
Initial commit
-rw-r--r--.SRCINFO24
-rw-r--r--PKGBUILD40
2 files changed, 64 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..6c854ba7d2f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,24 @@
+# Generated by mksrcinfo v8
+# Fri Jun 2 07:07:38 UTC 2017
+pkgbase = fahcontrol-beta
+ pkgdesc = A Graphical User Interface (GUI)for Folding@Home - Beta version
+ pkgver = 7.4.16
+ pkgrel = 1
+ url = http://folding.stanford.edu
+ arch = x86_64
+ license = GPL3
+ depends = gtk2
+ depends = python2
+ depends = pygtk
+ depends = glib2
+ depends = pango
+ depends = foldingathome=${pkgver}
+ provides = fahcontrol=${pkgver}
+ conflicts = fahcontrol
+ options = !docs
+ options = !libtool
+ source = https://folding.stanford.edu/releases/beta/release/fahcontrol/debian-stable-64bit/v7.4/fahcontrol_7.4.16-1_all.deb
+ sha256sums = 6fa229c39ca7c77e64802374ca80289c698112d92b90d5e2bc8d483b8d5a8405
+
+pkgname = fahcontrol-beta
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..66c80c86936
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Dmitry Kharitonov <darksab0r at gmail com>
+# Contributor: paul2lv [at] gmail dot com
+
+pkgname=fahcontrol-beta
+pkgver=7.4.16
+pkgrel=1
+pkgdesc='A Graphical User Interface (GUI)for Folding@Home - Beta version'
+url="http://folding.stanford.edu"
+arch=('x86_64')
+license=('GPL3')
+depends=('gtk2' 'python2' 'pygtk' 'glib2' 'pango' 'foldingathome=${pkgver}')
+options=('!docs' '!libtool')
+conflicts=('fahcontrol')
+provides=('fahcontrol=${pkgver}')
+source=(https://folding.stanford.edu/releases/beta/release/fahcontrol/debian-stable-64bit/v7.4/fahcontrol_${pkgver}-1_all.deb)
+sha256sums=('6fa229c39ca7c77e64802374ca80289c698112d92b90d5e2bc8d483b8d5a8405')
+
+# Moronic server
+DLAGENTS=("https::/usr/bin/curl -k -o %o %u")
+
+package() {
+ cd ${srcdir}
+ tar -xf data.tar.gz
+
+# python2 fixes
+ cd ${srcdir}/usr/bin/
+ for _file in $(find . -name 'FAHControl' -print); do
+ sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' "${_file}"
+ sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' "${_file}"
+ done
+
+ cd ${srcdir}
+ install -dm755 ${pkgdir}/usr/lib/python2.7/site-packages/fah
+ cp -R ${srcdir}/usr/share/pyshared/fah/ ${pkgdir}/usr/lib/python2.7/site-packages/
+ install -D -m0755 ${srcdir}/usr/bin/FAHControl ${pkgdir}/usr/bin/FAHControl
+ install -D -m0644 ${srcdir}/usr/share/pixmaps/FAHControl.png ${pkgdir}/usr/share/pixmaps/FAHControl.png
+ install -D -m0644 ${srcdir}/usr/share/applications/FAHControl.desktop ${pkgdir}/usr/share/applications/FAHControl.desktop
+}
+
+# vim:set ts=2 sw=2 et: