Commit 74c479c8 authored by Daniel Salzman's avatar Daniel Salzman

Merge branch 'patch-1' into 'master'

distro/arch: simplify PKGBUILD

See merge request !922
parents 82263254 a3044b6f
......@@ -64,8 +64,7 @@ package() {
rm "${pkgdir}"/etc/knot/example.com.zone
mv "${pkgdir}"/etc/knot/{knot.sample.conf,knot.conf}
cd ..
install -Dm644 ${srcdir}/${pkgname}-${pkgver}/distro/common/${pkgname}.service -t "${pkgdir}"/usr/lib/systemd/system/
install -Dm644 ${srcdir}/${pkgname}-${pkgver}/distro/arch/${pkgname}.tmpfiles.arch "${pkgdir}"/usr/lib/tmpfiles.d/${pkgname}.conf
install -Dm644 ${srcdir}/${pkgname}-${pkgver}/distro/arch/${pkgname}.sysusers "${pkgdir}"/usr/lib/sysusers.d/${pkgname}.conf
install -Dm644 distro/common/${pkgname}.service -t "${pkgdir}"/usr/lib/systemd/system/
install -Dm644 distro/arch/${pkgname}.tmpfiles.arch "${pkgdir}"/usr/lib/tmpfiles.d/${pkgname}.conf
install -Dm644 distro/arch/${pkgname}.sysusers "${pkgdir}"/usr/lib/sysusers.d/${pkgname}.conf
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment