void-packages/srcpkgs/xvfb-run/template

23 lines
661 B
Bash

# Template file for 'xvfb-run'
pkgname=xvfb-run
version=21.1.7pl3
revision=1
depends="xorg-server-xvfb xauth"
short_desc="Xvfb wrapper"
maintainer="Érico Nogueira <ericonr@disroot.org>"
license="GPL-2.0-or-later"
homepage="https://salsa.debian.org/xorg-team/xserver/xorg-server"
distfiles="${DEBIAN_SITE}/main/x/xorg-server/xorg-server_${version/pl/-}.diff.gz"
checksum=c494b03743636de08f1994f9f7c323d8b817701e4fbfef4b02f705e8a110bb70
post_extract() {
PATH="/usr/libexec/chroot-git:$PATH"
git apply --include="debian/*" --whitespace=nowarn \
"xorg-server_${version/pl/-}.diff"
}
do_install() {
vbin debian/local/xvfb-run
vman debian/local/xvfb-run.1
}