summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
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: