```sh git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" | while read template; do for p in ${template%/template}/patches/*; do sed -i ' \,^[+-][+-][+-] /dev/null,b /^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b s,^[*][*][*] ,&a/, /^--- /{ s,\(^--- \)\(./\)*,\1a/, s,[.-][Oo][Rr][Ii][Gg]\([ /]\),\1, s/[.-][Oo][Rr][Ii][Gg]$// s/[.]patched[.]\([^.]\)/.\1/ h } /^+++ -/{ g s/^--- a/+++ b/ b } s,\(^+++ \)\(./\)*,\1b/, ' "$p" done sed -i '/^patch_args=/d' $template done ```
24 lines
686 B
Bash
24 lines
686 B
Bash
# Template file for 'xf86-video-vmware'
|
|
pkgname=xf86-video-vmware
|
|
version=13.3.0
|
|
revision=2
|
|
archs="i686* x86_64*"
|
|
build_style=gnu-configure
|
|
configure_args="--enable-vmwarectrl-client"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libdrm-devel MesaLib-devel xorg-server-devel"
|
|
depends="virtual?xserver-abi-video-24_1 mesa-dri"
|
|
short_desc="Modular Xorg VMware virtual video driver"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="http://xorg.freedesktop.org"
|
|
distfiles="${XORG_SITE}/driver/$pkgname-$version.tar.bz2"
|
|
checksum=47971924659e51666a757269ad941a059ef5afe7a47b5101c174a6022ac4066c
|
|
|
|
lib32disabled=yes
|
|
|
|
LDFLAGS="-Wl,-z,lazy"
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|