49cb564d14
* par 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 ```
13 lines
529 B
Bash
13 lines
529 B
Bash
# Template file for 'powertop'
|
|
pkgname=powertop
|
|
version=2.13
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config"
|
|
makedepends="ncurses-devel pciutils-devel libnl3-devel"
|
|
short_desc="Tool to diagnose issues with power consumption and power management"
|
|
maintainer="Frank Steinborn <steinex@nognu.de>"
|
|
license="GPL-2.0-only"
|
|
homepage="https://01.org/powertop/"
|
|
distfiles="https://01.org/sites/default/files/downloads/powertop-${version}.tar.gz"
|
|
checksum=a65f992ca4a419bc73b623651060eb9fc00c5a86fa03556358cd9db011ef3178
|