* 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 ```
17 lines
734 B
Bash
17 lines
734 B
Bash
# Template file for 'qomui'
|
|
pkgname=qomui
|
|
version=0.8.2
|
|
revision=4
|
|
build_style=python3-module
|
|
pycompile_module="qomui"
|
|
hostmakedepends="python3 python3-setuptools"
|
|
depends="python python3 python3-PyQt5 python3-dbus python3-psutil
|
|
python3-requests python3-BeautifulSoup4 python3-lxml python3-pexpect openvpn
|
|
python3-PyQt5-dbus stunnel dnsmasq libcgroup libcgroup-utils
|
|
iptables wireguard wireguard-tools openresolv"
|
|
short_desc="OpenVPN Qt management ui"
|
|
maintainer="Young Jin Park <youngjinpark20@gmail.com>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://github.com/corrad1nho/qomui"
|
|
distfiles="https://github.com/corrad1nho/qomui/archive/v${version}.tar.gz"
|
|
checksum=78187864a4368fed06f6e58c4d411053a1d1193d625ee79be0a57bf0938b1d0b
|