4f75cf25fd
```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 ```
14 lines
594 B
Bash
14 lines
594 B
Bash
# Template file for 'ttfautohint'
|
|
pkgname=ttfautohint
|
|
version=1.8.3
|
|
revision=1
|
|
build_style=gnu-configure
|
|
build_helper=qmake
|
|
hostmakedepends="pkg-config qt5-host-tools qt5-qmake perl"
|
|
makedepends="freetype-devel harfbuzz-devel qt5-devel"
|
|
short_desc="Tools for automated hinting process and finely hand-hinting"
|
|
maintainer="Renato Aguiar <renato@renag.me>"
|
|
license="GPL-2.0-only"
|
|
homepage="https://www.freetype.org/ttfautohint/"
|
|
distfiles="http://download.savannah.gnu.org/releases/freetype/ttfautohint-${version}.tar.gz"
|
|
checksum=87bb4932571ad57536a7cc20b31fd15bc68cb5429977eb43d903fa61617cf87e
|