* par 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 ```
16 lines
621 B
Bash
16 lines
621 B
Bash
# Template file for 'qtfm'
|
|
pkgname=qtfm
|
|
version=6.2.1
|
|
revision=1
|
|
build_style=qmake
|
|
configure_args="CONFIG+=release"
|
|
hostmakedepends="qt5-qmake qt5-host-tools"
|
|
makedepends="qt5-devel"
|
|
depends="hicolor-icon-theme"
|
|
short_desc="Lightweight file manager for Linux desktops based on pure Qt"
|
|
maintainer="Frank Steinborn <steinex@nognu.de>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://github.com/rodlie/qtfm"
|
|
changelog="https://raw.githubusercontent.com/rodlie/qtfm/master/ChangeLog"
|
|
distfiles="https://github.com/rodlie/qtfm/archive/${version}.tar.gz"
|
|
checksum=b9c707443e20644f6e5f0393ce5158843724ac08f92cf8d7ea8e1109957b5c00
|