Christian Heusel pushed to branch main at Arch Linux / Packaging / Packages / mkosi
Commits: 30ff2964 by Christian Heusel at 2024-07-26T22:54:45+02:00 upgpkg: 24-2: move the completions in their proper places Related to https://gitlab.archlinux.org/archlinux/packaging/packages/mkosi/-/merge_requests/2 - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,7 +1,7 @@ pkgbase = mkosi pkgdesc = Build Legacy-Free OS Images pkgver = 24 - pkgrel = 1 + pkgrel = 2 url = https://github.com/systemd/mkosi arch = any license = LGPL-2.1-or-later ===================================== PKGBUILD ===================================== @@ -5,7 +5,7 @@ pkgname=mkosi pkgver=24 -pkgrel=1 +pkgrel=2 pkgdesc="Build Legacy-Free OS Images" arch=(any) url="https://github.com/systemd/mkosi" @@ -65,9 +65,6 @@ build() { cd $pkgname-$pkgver python -m build --wheel --no-isolation pandoc -t man -s -o $pkgname/resources/$pkgname.1 $pkgname/resources/$pkgname.md - python -m mkosi completion bash >mkosi.bash - python -m mkosi completion fish >mkosi.fish - python -m mkosi completion zsh >mkosi.zsh } check() { @@ -91,7 +88,8 @@ package() { install -vDm 644 $pkgname/resources/$pkgname.1 -t "$pkgdir/usr/share/man/man1/" install -vDm 644 docs/*.md {NEWS,README}.md -t "$pkgdir/usr/share/doc/$pkgname/" - install -vDm 644 mkosi.bash -t "$pkgdir/usr/share/bash-completion/completions/mkosi" - install -vDm 644 mkosi.fish -t "$pkgdir/usr/share/fish/completions/mkosi.fish" - install -vDm 644 mkosi.zsh -t "$pkgdir/usr/share/zsh/site-functions/_mkosi" + + python -m mkosi completion bash | install -vDm 644 /dev/stdin "$pkgdir/usr/share/bash-completion/completions/mkosi" + python -m mkosi completion fish | install -vDm 644 /dev/stdin "$pkgdir/usr/share/fish/completions/mkosi.fish" + python -m mkosi completion zsh | install -vDm 644 /dev/stdin "$pkgdir/usr/share/zsh/site-functions/_mkosi" } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/mkosi/-/commit/30ff29640892277251bb3f2dacfe85b589c87462 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/mkosi/-/commit/30ff29640892277251bb3f2dacfe85b589c87462 You're receiving this email because of your account on gitlab.archlinux.org.