summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorQuentin Bourgeois2018-01-14 16:46:23 +0000
committerQuentin Bourgeois2018-01-14 16:46:23 +0000
commitd7cc09e3fe570281fb8b7f6944943be9d6fd9978 (patch)
treeb52c2789cf5b4d9a69771b79db7ad40617253d8c /PKGBUILD
parent3b806a2e1849371b5ee4978891969c83c3e64030 (diff)
downloadaur-mc-agent.tar.gz
upgpkg: mc-agent 20180114-1
upstream release * This fix the go.UUID API break * Change the name of the systemd service file
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"
}