861ac185a6
```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
540 B
Bash
13 lines
540 B
Bash
# Template file for 'lbreakouthd'
|
|
pkgname=lbreakouthd
|
|
version=1.0.6
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--localstatedir=/var/${pkgname}"
|
|
makedepends="SDL2-devel SDL2_mixer-devel SDL2_image-devel SDL2_ttf-devel"
|
|
short_desc="Scalable 16:9 remake of LBreakout2"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="http://lgames.sourceforge.net/LBreakoutHD/"
|
|
distfiles="${SOURCEFORGE_SITE}/lgames/$pkgname-$version.tar.gz"
|
|
checksum=df5f8ad88bcf20bd34e1dfd77697b49a168d83ad43d8fdf5a3fee1fe272e15bd
|