diff options
Diffstat (limited to 'distro/pkg/arch/PKGBUILD')
-rw-r--r-- | distro/pkg/arch/PKGBUILD | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/distro/pkg/arch/PKGBUILD b/distro/pkg/arch/PKGBUILD index 422da695..ebbd164d 100644 --- a/distro/pkg/arch/PKGBUILD +++ b/distro/pkg/arch/PKGBUILD @@ -63,12 +63,7 @@ build() { -D malloc=jemalloc \ -D unit_tests=enabled ninja -C build - pushd build/python python -Pm build --wheel --no-isolation - popd - pushd manager - python -Pm build --wheel --no-isolation - popd } check() { @@ -87,17 +82,8 @@ package() { # remove modules with missing dependencies rm "${pkgdir}/usr/lib/knot-resolver/kres_modules/etcd.lua" - # install knot-resolver metadata Python module - pushd build/python - python -Pm installer --destdir="$pkgdir" dist/*.whl - popd - - # install knot-resolver-manager - pushd manager + # install knot-resolver Python module python -Pm installer --destdir="$pkgdir" dist/*.whl - install -m 644 -D etc/knot-resolver/config.yaml ${pkgdir}/etc/knot-resolver/config.yaml - install -m 644 -D shell-completion/client.bash ${pkgdir}/usr/share/bash-completion/completions/kresctl - install -m 644 -D shell-completion/client.fish ${pkgdir}/usr/share/fish/completions/kresctl.fish - popd + install -m 644 -D etc/config/config.yaml ${pkgdir}/etc/knot-resolver/config.yaml } |