Files
Nivora/vintner/Staplerfile
T
Александр 08104de30c vintner: bump to 0.3.0, auto-install shell completion
Wires vintner's own `completion bash|zsh` output into Stapler's
install-completion helper (bash -> /usr/share/bash-completion/
completions/vintner, zsh -> /usr/share/zsh/site-functions/_vintner -
both verified against a real built package, since neither path nor
the required paired files-find() registration is documented anywhere
reachable). Completion now works immediately after `stplr install`,
no manual `source <(vintner completion bash)` needed.

0.3.0 also picks up upstream's signal-forwarding fix (a wine
subprocess no longer survives `vintner` being killed by PID) and its
own expanded test coverage.
2026-07-25 11:33:17 +10:00

74 lines
3.1 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
name='vintner'
version=0.3.0
release=1
summary='Cross compile with MSVC on Linux via Wine'
summary_ru='Кросс-компиляция с MSVC на Linux через Wine'
group='Development/Tools'
desc='vintner is a single-binary tool for cross compiling with the real MSVC toolchain on Linux via Wine. Once you run its download/install subcommands, cl, link, lib, rc, midl, mc, mt, dumpbin, msbuild, nmake, ml, ml64, armasm, armasm64, cmd and findstr all work as drop-in commands, exactly like on Windows. Supports building real KMDF/UMDF drivers via the Windows Driver Kit (--with-wdk), and its own CLI is available in English and Russian.'
desc_ru='vintner — однобинарный инструмент для кросс-компиляции с реальным MSVC на Linux через Wine. После выполнения его подкоманд download/install команды cl, link, lib, rc, midl, mc, mt, dumpbin, msbuild, nmake, ml, ml64, armasm, armasm64, cmd и findstr работают как обычные команды, точно как в Windows. Поддерживает сборку настоящих KMDF/UMDF-драйверов через Windows Driver Kit (--with-wdk), а сам CLI доступен на английском и русском.'
homepage='https://github.com/Cheviiot/vintner'
maintainer='Cheviiot <https://github.com/Cheviiot>'
architectures=('amd64' 'arm64')
license=('MIT')
provides=()
replaces=('vintner')
conflicts=()
auto_reqprov_method="dirty"
auto_req=0
auto_prov=0
# wine/msitools/git are needed at runtime by `vintner download`/`install`
# and by the tool wrappers themselves, not just at build time.
deps=()
deps_debian=('wine' 'msitools' 'git')
deps_ubuntu=("${deps_debian[@]}")
deps_fedora=('wine' 'msitools' 'git')
deps_arch=('wine' 'msitools' 'git')
deps_opensuse=('wine' 'msitools' 'git')
deps_altlinux=('wine' 'msitools' 'git')
build_deps=('binutils')
# Prebuilt by vintner's own CI (.github/workflows/release.yml) and
# published to its GitHub Releases; renamed to a common local name so
# package() doesn't need to branch on architecture.
sources=(
"https://github.com/Cheviiot/vintner/releases/download/v${version}/vintner-linux-amd64?~archive=false&~name=vintner"
'local:///LICENSE'
)
sources_arm64=(
"https://github.com/Cheviiot/vintner/releases/download/v${version}/vintner-linux-arm64?~archive=false&~name=vintner"
'local:///LICENSE'
)
checksums=(
'sha256:fe6aae318969a05b0598ec6b3b2798dcdee04e3e930a095d143f26ec843f9833'
'sha256:e377b84adc5315cf372c3d80ecbd3008402d8b07f248e711c7553784e0c33168'
)
checksums_arm64=(
'sha256:de1bca8d235e64997f024eb1b32c6539117ebe1beb2b1732de51b01bbef118ce'
'sha256:e377b84adc5315cf372c3d80ecbd3008402d8b07f248e711c7553784e0c33168'
)
package() {
cd "${srcdir}"
chmod +x "${srcdir}/vintner"
install-binary "${srcdir}/vintner"
install-license "${srcdir}/LICENSE" "vintner/LICENSE"
"${srcdir}/vintner" completion bash | install-completion bash vintner
"${srcdir}/vintner" completion zsh | install-completion zsh vintner
}
files() {
files-find-binary
files-find-license
files-find "/usr/share/bash-completion/completions/vintner"
files-find "/usr/share/zsh/site-functions/_vintner"
}