4b97cd2fb4
```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
531 B
Bash
13 lines
531 B
Bash
# Template file for 'swell-foop'
|
|
pkgname=swell-foop
|
|
version=3.34.1
|
|
revision=1
|
|
build_style=meson
|
|
hostmakedepends="gettext glib-devel itstool pkg-config vala"
|
|
makedepends="clutter-gtk-devel"
|
|
short_desc="GNOME puzzle game where you remove similar objects"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://wiki.gnome.org/Apps/Swell%20Foop"
|
|
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=61c6b6ff9047c00bdc0dbe11a880058a5462921c702123a2d6d1a652bbbe6280
|