b6bcd8cd34
* daemontools and dmraid 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 ```
13 lines
532 B
Bash
13 lines
532 B
Bash
# Template file for 'dialogbox'
|
|
pkgname=dialogbox
|
|
version=1.0
|
|
revision=2
|
|
build_style=qmake
|
|
hostmakedepends="qt5-host-tools qt5-qmake"
|
|
makedepends="qt5-devel"
|
|
short_desc="Scriptable engine with customizable GUI for shell scripts"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://github.com/martynets/dialogbox"
|
|
distfiles="https://github.com/martynets/dialogbox/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
|
|
checksum=554e59712a616772cff5734206e2a223171ad57c0e922421d8383a763b11640e
|