summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMagnus Boman2020-06-15 22:58:20 +0200
committerMagnus Boman2020-06-15 22:58:20 +0200
commit618112f1538f24253ec1d1bdb358deb43938962e (patch)
tree074103e169a237cb9b381276531813906e1ac7cb
downloadaur-618112f1538f24253ec1d1bdb358deb43938962e.tar.gz
initial commit
-rw-r--r--.SRCINFO21
-rw-r--r--FAHControl.desktop11
-rw-r--r--PKGBUILD30
3 files changed, 62 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c30c89d1729
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = fahcontrol-git
+ pkgdesc = Folding@home Client Advanced Control GUI - git version
+ pkgver = r82.91e9fe6
+ pkgrel = 1
+ url = https://foldingathome.org
+ arch = any
+ license = GPL
+ makedepends = git
+ makedepends = python2-setuptools
+ depends = python2
+ depends = pygtk
+ optdepends = fahviewer: 3D simulation viewer
+ provides = fahcontrol
+ conflicts = fahcontrol
+ source = fahcontrol-git::git+https://github.com/FoldingAtHome/fah-control
+ source = FAHControl.desktop
+ md5sums = SKIP
+ md5sums = 81c1953f5c7cfb981ba1b7bf6a046f88
+
+pkgname = fahcontrol-git
+
diff --git a/FAHControl.desktop b/FAHControl.desktop
new file mode 100644
index 00000000000..8c0dffbb265
--- /dev/null
+++ b/FAHControl.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=FAHControl
+Exec=/usr/bin/FAHControl
+TryExec=FAHControl
+StartupNotify=false
+Terminal=false
+Type=Application
+Categories=Science;Biology;Education;;
+Comment=Folding@home Client Control
+Icon=FAHControl.png
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..5dc503b5c6f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: katt <magunasu.b97@gmail.com>
+
+_pkgname=fahcontrol
+pkgname=$_pkgname-git
+pkgver=r82.91e9fe6
+pkgrel=1
+pkgdesc='Folding@home Client Advanced Control GUI - git version'
+arch=(any)
+url='https://foldingathome.org'
+license=('GPL')
+depends=('python2' 'pygtk')
+optdepends=('fahviewer: 3D simulation viewer')
+makedepends=('git' 'python2-setuptools')
+provides=("$_pkgname")
+conflicts=("$_pkgname")
+source=("$pkgname::git+https://github.com/FoldingAtHome/fah-control"
+ "FAHControl.desktop")
+md5sums=('SKIP'
+ '81c1953f5c7cfb981ba1b7bf6a046f88')
+
+pkgver() {
+ cd "$pkgname"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package() {
+ cd "$pkgname"
+ python2 setup.py install --root="$pkgdir"
+ install -Dm644 FAHControl.desktop -t "$pkgdir"/usr/share/applications
+}