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 ```
15 lines
552 B
Bash
15 lines
552 B
Bash
# Template file for 'xseticon'
|
|
pkgname=xseticon
|
|
version=0.1+bzr13
|
|
revision=1
|
|
wrksrc="xseticon-0.1-bzr13"
|
|
build_style=gnu-makefile
|
|
make_use_env=yes
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libXmu-devel gd-devel glib-devel"
|
|
short_desc="Set the X11 window icon for any given window"
|
|
maintainer="Benjamin Slade <slade@lambda-y.net>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://github.com/xeyownt/xseticon"
|
|
distfiles="https://github.com/xeyownt/xseticon/archive/${version}.tar.gz"
|
|
checksum=d34c349ff09ea42393fb3bac3fd2be0e7b9a244388e2f4b32cc92636967a4a2c
|