b6bcd8cd34
* daemontools and dmraid is kept at -Np0 ```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 ```
13 lines
505 B
Bash
13 lines
505 B
Bash
# Template file for 'dhewm3'
|
|
pkgname=dhewm3
|
|
version=1.5.1
|
|
revision=1
|
|
build_wrksrc="neo"
|
|
build_style=cmake
|
|
makedepends="SDL2-devel libcurl-devel libjpeg-turbo-devel libopenal-devel"
|
|
short_desc="Doom 3 GPL source port"
|
|
maintainer="John Rowley <enterthevoid@codesector.co>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://dhewm3.org/"
|
|
distfiles="https://github.com/dhewm/dhewm3/releases/download/${version}/dhewm3-${version}-src.tar.xz"
|
|
checksum=31671f35fb6f83272dfa2a27c0dad6183bc228f1f1a448ef925052cf4dcf4b68
|