summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Halbert2019-06-25 22:20:17 -0700
committerMatthew Halbert2019-06-25 22:20:26 -0700
commita4053166d0b52a120d56c2ce30cf05854755ee89 (patch)
treea707a27cf6bbd602a1b572799bfab70076d580f8
parent90e8823a7ae7f16a0570bd1a4ab3341c2126d253 (diff)
downloadaur-a4053166d0b52a120d56c2ce30cf05854755ee89.tar.gz
post install hook
-rw-r--r--PKGBUILD4
-rw-r--r--nextflow.install4
2 files changed, 6 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e1cefdbdf74c..d5847db2d400 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,9 @@
# Maintainer: mh00h <matt.halbert@gmail.com>
pkgname=nextflow
pkgver=19.04.1
-pkgrel=0
+pkgrel=1
pkgdesc="A DSL for data-driven computational pipelines"
+install=nextflow.install
arch=('any')
url="https://www.nextflow.io"
license=('Apache')
@@ -11,6 +12,5 @@ source=("https://github.com/nextflow-io/nextflow/releases/download/v${pkgver}/ne
md5sums=('a5ff593271290274e1baaff3f1e980fe')
package() {
- NXF_HOME="${HOME}/.local/share/nextflow"
install -D -m755 "${srcdir}/nextflow" "${pkgdir}/usr/bin/nextflow"
}
diff --git a/nextflow.install b/nextflow.install
new file mode 100644
index 000000000000..ed7d5455cd0a
--- /dev/null
+++ b/nextflow.install
@@ -0,0 +1,4 @@
+post_install() {
+ NXF_HOME="${HOME}/.local/share/nextflow"
+ /usr/bin/nextflow
+}