Commit a3044b6f authored by Bruno Pagani's avatar Bruno Pagani

distro/arch: simplify PKGBUILD

parent 82263254
......@@ -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