Package Details: vkrunner-git r649.b327697-1

Git Clone URL: https://aur.archlinux.org/vkrunner-git.git (read-only, click to copy)
Package Base: vkrunner-git
Description: Shader script tester for Vulkan
Upstream URL: https://gitlab.freedesktop.org/mesa/vkrunner
Licenses: MIT, Apache-2.0
Conflicts: vkrunner
Provides: vkrunner
Submitter: aperez
Maintainer: aperez
Last Packager: aperez
Votes: 1
Popularity: 0.000000
First Submitted: 2019-05-07 12:01 (UTC)
Last Updated: 2026-02-17 15:23 (UTC)

Dependencies (4)

Required by (1)

Sources (1)

Latest Comments

gonsolo commented on 2026-02-11 06:47 (UTC)

Out of date. Updated PKGBUILD:

# Maintainer: Your Name <your@email.com>
pkgname=vkrunner-git
pkgdesc='Shader script tester for Vulkan (Mesa/Freedesktop Rust version)'
pkgver=r649.b327697
pkgrel=1
url="https://gitlab.freedesktop.org/mesa/vkrunner"
arch=('x86_64' 'aarch64')
license=('MIT')
conflicts=('vkrunner')
provides=('vkrunner')
# Runtime needs glslang for shader compilation and vulkan-loader to run
depends=('glslang' 'vulkan-icd-loader')
# Build needs rust/cargo and vulkan headers
makedepends=('git' 'rust' 'cargo' 'vulkan-headers')
source=("${pkgname}::git+${url}.git")
sha512sums=('SKIP')

pkgver() {
    cd "${srcdir}/${pkgname}"
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

prepare() {
    cd "${srcdir}/${pkgname}"
    # Remove --locked to allow Cargo to sync the lockfile with the current dependencies
    cargo fetch --target "$CARCH-unknown-linux-gnu"
}

build() {
    cd "${srcdir}/${pkgname}"
    # Use --offline because prepare() has already downloaded everything we need
    export RUSTUP_TOOLCHAIN=stable
    cargo build --offline --release
}

package() {
    cd "${srcdir}/${pkgname}"
    # Install the binary to /usr/bin
    install -Dm755 "target/release/vkrunner" "${pkgdir}/usr/bin/vkrunner"

    # Install documentation and license
    install -Dm644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
    # Note: If there is no COPYING file in the Rust root, use LICENSE if it exists
    if [ -f "COPYING" ]; then
        install -Dm644 "COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
    fi
}

aperez commented on 2021-02-15 08:41 (UTC)

@Lone_Wolf: Added, thanks for the tip!

Lone_Wolf commented on 2021-02-14 14:32 (UTC)

It's customary for VCVS packages to provide/ conflict the non-VCS version (even if that package doesn't exist yet)

Please add provides & conflicts for vkrunner .