765e304c4b
```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 ```
17 lines
711 B
Bash
17 lines
711 B
Bash
# Template file for 'mate-power-manager'
|
|
pkgname=mate-power-manager
|
|
version=1.24.2
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-schemas-compile"
|
|
hostmakedepends="pkg-config intltool itstool libtool glib-devel dbus-glib-devel
|
|
polkit"
|
|
makedepends="libcanberra-devel libgnome-keyring-devel libmate-panel-devel
|
|
libnotify-devel upower-devel"
|
|
depends="dconf upower"
|
|
short_desc="Power management tool for the MATE desktop"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://mate-desktop.org"
|
|
distfiles="https://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=d24b9fce23b086817d5494f7e65e58f18367af6eb5d0d4ade45de5396e20d13a
|