103ab731ab
* runit 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 ```
20 lines
661 B
Bash
20 lines
661 B
Bash
# Template file for 'rakarrack'
|
|
pkgname=rakarrack
|
|
version=0.6.1
|
|
revision=3
|
|
build_style=gnu-configure
|
|
hostmakedepends="alsa-utils"
|
|
makedepends="jack-devel libsndfile-devel libXpm-devel fltk-devel libsamplerate-devel"
|
|
short_desc="Versatile guitar multi-effects processor"
|
|
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="http://rakarrack.sourceforge.net"
|
|
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
|
|
checksum=7696d27a4814b140fe651d137612ddfa1f167858eccc119e278c14dbee30eee6
|
|
|
|
pre_configure() {
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
x86_64*|i686*|ppc64*) ;;
|
|
*) sed -i 's|$SSE $ALTIVEC||g' configure;;
|
|
esac
|
|
}
|