04b9978a29
* wine 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
504 B
Bash
17 lines
504 B
Bash
# Template file for 'wtype'
|
|
pkgname=wtype
|
|
version=0.3
|
|
revision=1
|
|
build_style=meson
|
|
hostmakedepends="pkg-config wayland-devel"
|
|
makedepends="libxkbcommon-devel wayland-devel"
|
|
short_desc="Wayland version of xdotool"
|
|
maintainer="Stacy Harper <contact@stacyharper.net>"
|
|
license="MIT"
|
|
homepage="https://github.com/atx/wtype"
|
|
distfiles="https://github.com/atx/${pkgname}/archive/v${version}.tar.gz"
|
|
checksum=35615e61e57576a240d10308f9101ceb2ec7b3554fac60119b1416b84c1694b2
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|