summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatheus Gabriel Werny de Lima2021-04-12 19:39:19 +0200
committerMatheus Gabriel Werny de Lima2021-04-12 19:39:19 +0200
commitdbec27696336c8cf89af59fb253c0ef468e7c000 (patch)
tree12b70e3363c1ddfa6acb56c827246a638eba3fd4
parente18abdc89de901fcf54f6cd8e2abeeee138528a7 (diff)
downloadaur-dbec27696336c8cf89af59fb253c0ef468e7c000.tar.gz
Removed tmux as a dependency.
-rwxr-xr-x.SRCINFO1
-rwxr-xr-xPKGBUILD14
2 files changed, 1 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6e10a9d8519..1153176e2ee 100755
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -9,7 +9,6 @@ pkgbase = nbxplorer-git
depends = aspnet-runtime-3.1
depends = bitcoin-daemon
depends = dotnet-sdk-3.1
- depends = tmux
provides = nbxplorer
conflicts = nbxplorer
source = git+https://github.com/dgarage/NBXplorer.git
diff --git a/PKGBUILD b/PKGBUILD
index dba490634df..aa9218613eb 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,7 +12,7 @@ arch=("any")
url="https://github.com/dgarage/${_pkgname}"
license=("MIT")
groups=()
-depends=("aspnet-runtime-3.1" "bitcoin-daemon" "dotnet-sdk-3.1" "tmux")
+depends=("aspnet-runtime-3.1" "bitcoin-daemon" "dotnet-sdk-3.1")
makedepends=("git")
checkdepends=()
optdepends=()
@@ -54,24 +54,12 @@ package()
echo -e "#!/bin/bash
dotnet run --no-launch-profile --no-build -c Release -p \"/usr/share/${_pkgname}/NBXplorer/NBXplorer.csproj\" -- \${@}" > ${srcdir}/${_pkgname}/run.sh
- # Create nbxplorer-start.sh.
- echo -e "#!/bin/bash
-tmux new-session -s ${_pkgname_lc} -d \"${_pkgname_lc};bash -i\"" > ${srcdir}/${_pkgname}/${_pkgname_lc}-start.sh
-
- # Create nbxplorer-stop.sh.
- echo -e "#!/bin/bash
-tmux kill-session -t ${_pkgname_lc}" > ${srcdir}/${_pkgname}/${_pkgname_lc}-stop.sh
-
# Install the software.
cp -r ${srcdir}/${_pkgname}/ ${pkgdir}/usr/share/
## Symlinking the scripts.
ln -sfrT ${pkgdir}/usr/share/${_pkgname}/run.sh ${pkgdir}/usr/bin/${_pkgname_lc}
chmod 755 ${pkgdir}/usr/bin/${_pkgname_lc}
- ln -sfrT ${pkgdir}/usr/share/${_pkgname}/${_pkgname_lc}-start.sh ${pkgdir}/usr/bin/${_pkgname_lc}-start
- chmod 755 ${pkgdir}/usr/bin/${_pkgname_lc}-start
- ln -sfrT ${pkgdir}/usr/share/${_pkgname}/${_pkgname_lc}-stop.sh ${pkgdir}/usr/bin/${_pkgname_lc}-stop
- chmod 755 ${pkgdir}/usr/bin/${_pkgname_lc}-stop
# Install the documentation.
install -Dm644 ${srcdir}/${_pkgname}/README.md ${pkgdir}/usr/share/doc/${_pkgname}/