summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMantas Mikul─Śnas2016-03-02 16:18:48 +0200
committerNarrat2016-03-24 00:22:41 +0100
commitc29e5f5d98084a6c7934924a4a1d897b37ac28ab (patch)
tree44aa677b371862590b3a6d95412f7bd7b4580a3b /PKGBUILD
parentf11829c9d6eba03c91b5550520e1e48337338629 (diff)
downloadaur-c29e5f5d98084a6c7934924a4a1d897b37ac28ab.tar.gz
install a systemd .service
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2a369d43427..e79f61203b8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,10 +11,10 @@ makedepends=('boost>=1.33')
backup=('etc/clamav/clamfs.xml')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz"
"scancache.cxx.patch"
- "clamfs.rc.d")
+ "clamfs.service")
md5sums=('e1528c48d3b2340b6c3ee83cfb427820'
'a672569c2caab2cc855cc7df1c9536d8'
- '4fd3f09866fb4bd20098f1da5d011a42')
+ '04c1ffa3c132ccfddc2d83c43c4f4bd7')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
@@ -37,7 +37,7 @@ package() {
sed -i -e 's#clamd socket="/var/run/clamav/clamd.ctl"#clamd socket="/var/lib/clamav/clamd.sock"#g' \
"${pkgdir}/etc/clamav/clamfs.xml"
# install startup script
- install -D -m755 "${srcdir}/clamfs.rc.d" "${pkgdir}/etc/rc.d/clamfs"
+ install -D -m644 "${srcdir}/clamfs.service" "${pkgdir}/usr/lib/systemd/system/clamfs.service"
}
# vim:set ts=2 sw=2 et: