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 ```
22 lines
812 B
Bash
22 lines
812 B
Bash
# Template file for 'psensor'
|
|
pkgname=psensor
|
|
version=1.2.1
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config glib-devel"
|
|
makedepends="gtk+3-devel udisks2-devel libgtop-devel json-c-devel
|
|
libsensors-devel libatasmart-devel libcurl-devel libnotify-devel
|
|
libappindicator-devel libmicrohttpd-devel"
|
|
depends="lm_sensors"
|
|
short_desc="Graphical hardware temperature monitor for Linux"
|
|
maintainer="Foxlet <foxlet@furcode.co>"
|
|
license="GPL-2.0-only"
|
|
homepage="https://wpitchoune.net/psensor"
|
|
changelog="https://gitlab.com/jeanfi/psensor/-/raw/master/NEWS"
|
|
distfiles="https://wpitchoune.net/${pkgname}/files/${pkgname}-${version}.tar.gz"
|
|
checksum=084f785d169f533d3010e50c5933436ed427afc70d41740b762f1db5034833ab
|
|
disable_parallel_build=yes
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" help2man"
|
|
fi
|