summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatheus Gabriel Werny de Lima2021-04-09 21:25:45 +0200
committerMatheus Gabriel Werny de Lima2021-04-09 21:25:45 +0200
commite18abdc89de901fcf54f6cd8e2abeeee138528a7 (patch)
tree7a257d920d8d865f19ea02af025ecabcf0b2e7cc
parentae8ec4a08a4d546163aa701611dc531bb0edba2d (diff)
downloadaur-e18abdc89de901fcf54f6cd8e2abeeee138528a7.tar.gz
Changing directory.
-rwxr-xr-xPKGBUILD12
1 files changed, 6 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 51ab65b9ee7..dba490634df 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -46,13 +46,13 @@ package()
{
# Assure that the directories exist.
mkdir -p ${pkgdir}/usr/bin/
- mkdir -p ${pkgdir}/usr/lib/
+ mkdir -p ${pkgdir}/usr/share/
mkdir -p ${pkgdir}/usr/share/doc/${_pkgname}/
mkdir -p ${pkgdir}/usr/share/licenses/${_pkgname}/
# Modify run.sh to state the absolute path of the .csproj.
echo -e "#!/bin/bash
-dotnet run --no-launch-profile --no-build -c Release -p \"/usr/lib/${_pkgname}/NBXplorer/NBXplorer.csproj\" -- ${@}" > ${srcdir}/${_pkgname}/run.sh
+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
@@ -63,14 +63,14 @@ tmux new-session -s ${_pkgname_lc} -d \"${_pkgname_lc};bash -i\"" > ${srcdir}/${
tmux kill-session -t ${_pkgname_lc}" > ${srcdir}/${_pkgname}/${_pkgname_lc}-stop.sh
# Install the software.
- cp -r ${srcdir}/${_pkgname}/ ${pkgdir}/usr/lib/
+ cp -r ${srcdir}/${_pkgname}/ ${pkgdir}/usr/share/
## Symlinking the scripts.
- ln -sfrT ${pkgdir}/usr/lib/${_pkgname}/run.sh ${pkgdir}/usr/bin/${_pkgname_lc}
+ ln -sfrT ${pkgdir}/usr/share/${_pkgname}/run.sh ${pkgdir}/usr/bin/${_pkgname_lc}
chmod 755 ${pkgdir}/usr/bin/${_pkgname_lc}
- ln -sfrT ${pkgdir}/usr/lib/${_pkgname}/${_pkgname_lc}-start.sh ${pkgdir}/usr/bin/${_pkgname_lc}-start
+ 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/lib/${_pkgname}/${_pkgname_lc}-stop.sh ${pkgdir}/usr/bin/${_pkgname_lc}-stop
+ 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.