3353bf4722
```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 ```
15 lines
659 B
Bash
15 lines
659 B
Bash
# Template file for 'xfce4-power-manager'
|
|
pkgname=xfce4-power-manager
|
|
version=4.16.0
|
|
revision=2
|
|
build_style=gnu-configure
|
|
configure_args="--with-locales-dir=/usr/share/locale --disable-static"
|
|
hostmakedepends="pkg-config intltool"
|
|
makedepends="libxfce4ui-devel libnotify-devel upower-devel xfce4-panel-devel"
|
|
depends="hicolor-icon-theme desktop-file-utils"
|
|
short_desc="Xfce power manager"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://xfce.org/"
|
|
distfiles="https://archive.xfce.org/src/xfce/$pkgname/${version%.*}/$pkgname-$version.tar.bz2"
|
|
checksum=eb9c587c01b502fa45a32e7fc2aba98fa6d8391475133883654f77e562c43bf3
|