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 ```
11 lines
432 B
Bash
11 lines
432 B
Bash
# Template file for 'seq2gif'
|
|
pkgname=seq2gif
|
|
version=0.10.4
|
|
revision=3
|
|
build_style=gnu-configure
|
|
short_desc="Convert ttyrec recordings into high quality gifs"
|
|
maintainer="Andrew Benson <abenson+void@gmail.com>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="http://saitoha.github.io/seq2gif/"
|
|
distfiles="https://github.com/saitoha/seq2gif/archive/v${version}.tar.gz"
|
|
checksum=738805bf8eb7ee5171ded7f43326cca7caecb77031283720f97253c234261f29
|