3353bf4722
```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 ```
19 lines
639 B
Bash
19 lines
639 B
Bash
# Template file for 'xdg-utils'
|
|
pkgname=xdg-utils
|
|
version=1.1.3
|
|
revision=3
|
|
build_style=gnu-configure
|
|
make_check_target=test
|
|
hostmakedepends="xmlto lynx"
|
|
depends="bash"
|
|
short_desc="Tools to assist applications with various desktop integration tasks"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://www.freedesktop.org/wiki/Software/xdg-utils/"
|
|
#changelog="https://cgit.freedesktop.org/xdg/xdg-utils/plain/ChangeLog"
|
|
distfiles="https://portland.freedesktop.org/download/${pkgname}-${version}.tar.gz"
|
|
checksum=d798b08af8a8e2063ddde6c9fa3398ca81484f27dec642c5627ffcaa0d4051d9
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|