200bed5c06
```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
649 B
Bash
15 lines
649 B
Bash
# Template file for 'helm'
|
|
pkgname=helm
|
|
version=0.9.0
|
|
revision=3
|
|
build_style=gnu-makefile
|
|
hostmakedepends="pkg-config"
|
|
makedepends="alsa-lib-devel libcurl-devel libX11-devel libXext-devel
|
|
libXinerama-devel freetype-devel MesaLib-devel jack-devel libXcursor-devel"
|
|
short_desc="Polyphonic synth with lots of modulation"
|
|
maintainer="Olga Ustuzhanina <me@laserbat.pw>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="http://tytel.org/helm"
|
|
distfiles="https://github.com/mtytel/helm/archive/v${version}.tar.gz"
|
|
checksum=4004c11fd1d773cc2a12adb5336873bc86c5ecbd370b8da2820fed6ef5ec58ad
|
|
nocross="./lv2_ttl_generator: ./lv2_ttl_generator: cannot execute binary file"
|