65749575ab
```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 ```
14 lines
579 B
Bash
14 lines
579 B
Bash
# Template file for 'nootka'
|
|
pkgname=nootka
|
|
version=1.4.7
|
|
revision=2
|
|
wrksrc="nootka-${version}-source"
|
|
build_style=cmake
|
|
hostmakedepends="qt5-qmake qt5-host-tools"
|
|
makedepends="alsa-lib-devel fftw-devel libvorbis-devel qt5-devel soundtouch-devel"
|
|
short_desc="Application to learn classical score notation"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-3.0-only"
|
|
homepage="https://nootka.sourceforge.io"
|
|
distfiles="${SOURCEFORGE_SITE}/nootka/Nootka-${version}/nootka-${version}-source.tar.bz2"
|
|
checksum=1d85a2970ddb51117b0a98df4d84ca9e9498fbd1d2b1c55bfa62931333a73cf9
|