diff options
author | Matthew Halbert | 2019-06-25 22:20:17 -0700 |
---|---|---|
committer | Matthew Halbert | 2019-06-25 22:20:26 -0700 |
commit | a4053166d0b52a120d56c2ce30cf05854755ee89 (patch) | |
tree | a707a27cf6bbd602a1b572799bfab70076d580f8 | |
parent | 90e8823a7ae7f16a0570bd1a4ab3341c2126d253 (diff) | |
download | aur-a4053166d0b52a120d56c2ce30cf05854755ee89.tar.gz |
post install hook
-rw-r--r-- | PKGBUILD | 4 | ||||
-rw-r--r-- | nextflow.install | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -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 +} |