3353bf4722
```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 ```
22 lines
664 B
Bash
22 lines
664 B
Bash
# Template build file for 'xf86-video-cirrus'.
|
|
pkgname=xf86-video-cirrus
|
|
version=1.5.3
|
|
revision=7
|
|
lib32disabled=yes
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config"
|
|
makedepends="xorg-server-devel"
|
|
depends="virtual?xserver-abi-video-24_1"
|
|
short_desc="Xorg Cirrus Logic video driver"
|
|
homepage="http://xorg.freedesktop.org"
|
|
license="MIT"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
|
|
checksum=edc87b20a55259126b5239b5c1ef913419eab7ded0ed12ae9ae989460d7351ab
|
|
|
|
LDFLAGS="-Wl,-z,lazy"
|
|
CFLAGS="-fcommon -Wno-pointer-arith -Wno-discarded-qualifiers -Wno-unused-label"
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|