summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD12
1 files changed, 3 insertions, 9 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5d4ab77228a..1b82f9fbdbb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: Quentin Bourgeois <quentin+archlinux@bourgeois.eu>
pkgname=mc-agent
-pkgver=20171210
-pkgrel=2
+pkgver=20180114
+pkgrel=1
pkgdesc='Simple ssh-agent that loads keys stored from Moolticute'
arch=('x86_64')
license=('GPL3')
@@ -20,16 +20,10 @@ build() {
}
package() {
- local _up_systemd_unit_file="${srcdir}/src/${_gourl}/systemd/mc-agent.service"
-
cd "${srcdir}"
- if [ ! -f "${_up_systemd_unit_file}" ]; then
- _up_systemd_unit_file="${srcdir}/src/${_gourl}/systemd/moolticute-ssh-agent.service"
- fi
-
install -p -Dm 755 "${srcdir}/bin/mc-agent" \
"${pkgdir}/usr/bin/mc-agent"
- install -Dm 644 "${_up_systemd_unit_file}" \
+ install -Dm 644 "${srcdir}/src/${_gourl}/systemd/mc-agent.service" \
"${pkgdir}/usr/lib/systemd/user/mc-agent.service"
}