summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatheus Gabriel Werny de Lima2021-02-26 12:04:11 +0100
committerMatheus Gabriel Werny de Lima2021-02-26 12:04:11 +0100
commit77754a1afcf45e5462077f9d7865b5067ee5f48d (patch)
tree3c1e1fb59d22d4a65c077605c968cbc3fca76d63
parentb52afc1881ae91b771a948dbadc5bc1f0d0b9a96 (diff)
downloadaur-77754a1afcf45e5462077f9d7865b5067ee5f48d.tar.gz
Update.
-rwxr-xr-xPKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a9c3c6246c3..26171017a03 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -48,6 +48,7 @@ package()
mkdir -p ${pkgdir}/usr/bin/
mkdir -p ${pkgdir}/usr/lib/
mkdir -p ${pkgdir}/usr/lib/systemd/system/
+ mkdir -p ${pkgdir}/etc/systemd/system/multi-user.target.wants/
mkdir -p ${pkgdir}/usr/share/doc/${_pkgname}/
mkdir -p ${pkgdir}/usr/share/licenses/${_pkgname}/
@@ -74,7 +75,7 @@ package()
cp -r ${srcdir}/${_pkgname}/ ${pkgdir}/usr/lib/
# Symlinking run.sh to /usr/bin/${_pkgname_lc}.
- ln -s ${pkgdir}/usr/lib/${_pkgname}/run.sh ${pkgdir}/usr/bin/${_pkgname_lc}
+ ln -sf ${pkgdir}/usr/lib/${_pkgname}/run.sh ${pkgdir}/usr/bin/${_pkgname_lc}
chmod 755 ${pkgdir}/usr/bin/${_pkgname_lc}
# Install the systemd service and enable necessary services.