summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxime Gauduin2020-04-17 16:31:50 +0200
committerMaxime Gauduin2020-04-17 16:31:50 +0200
commit14723c8ddd8eace5db7e58b8de10923021039e87 (patch)
treef6b84734280be4fe79601edebb7fa7f288d195cd
parent5626b32a3799709d0356a858f89cdbe72261728e (diff)
downloadaur-14723c8ddd8eace5db7e58b8de10923021039e87.tar.gz
add upgrade message
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD3
-rw-r--r--foldingathome.install12
3 files changed, 16 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3a90c95b27d..8d435d05bdb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,9 @@
pkgbase = foldingathome
pkgdesc = A distributed computing project for simulating protein dynamics
pkgver = 7.6.8
- pkgrel = 1
+ pkgrel = 2
url = https://foldingathome.org/
+ install = foldingathome.install
arch = x86_64
license = custom
depends = gcc-libs
diff --git a/PKGBUILD b/PKGBUILD
index 051eb5d720a..340058bdaae 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=foldingathome
pkgver=7.6.8
-pkgrel=1
+pkgrel=2
pkgdesc='A distributed computing project for simulating protein dynamics'
arch=(x86_64)
url=https://foldingathome.org/
@@ -22,6 +22,7 @@ optdepends=(
'opencl-nvidia: for folding with an NVIDIA GPU'
)
backup=(etc/foldingathome/config.xml)
+install=foldingathome.install
source=(
https://download.foldingathome.org/releases/public/release/fahclient/debian-stable-64bit/v${pkgver%.*}/fahclient_${pkgver}-64bit-release.tar.bz2
foldingathome.service
diff --git a/foldingathome.install b/foldingathome.install
new file mode 100644
index 00000000000..b40a15c96bf
--- /dev/null
+++ b/foldingathome.install
@@ -0,0 +1,12 @@
+post_install() {
+ cat << 'EOF'
+ --> To join the Arch Linux team, please use team number 45032
+EOF
+}
+
+post_upgrade() {
+ cat << 'EOF'
+ --> Please migrate your configuration to /etc/foldingathome/config.xml
+EOF
+}
+