7fc9190f0e
* gcc is kept at -Np0, because of void-cross ```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 ```
18 lines
599 B
Bash
18 lines
599 B
Bash
# Template file for 'glances'
|
|
pkgname=glances
|
|
version=3.1.7
|
|
revision=1
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3-setuptools python3-future python3-psutil"
|
|
checkdepends="python3-psutil"
|
|
short_desc="Cross-platform curses-based monitoring tool"
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
license="LGPL-3.0-or-later"
|
|
homepage="https://github.com/nicolargo/glances"
|
|
distfiles="https://github.com/nicolargo/glances/archive/v${version}.tar.gz"
|
|
checksum=5839a110af35af35b7a1d30c15e59c59359480c2eaec852d30480c96b8cf8d76
|
|
|
|
post_install() {
|
|
vsconf conf/glances.conf
|
|
}
|