c987560802
```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 ```
19 lines
879 B
Bash
19 lines
879 B
Bash
# Template file for 'cinnamon-session'
|
|
pkgname=cinnamon-session
|
|
version=4.8.0
|
|
revision=1
|
|
build_style=meson
|
|
build_helper=gir
|
|
configure_args="-Dgconf=false"
|
|
hostmakedepends="pkg-config gobject-introspection
|
|
gettext-devel dbus-glib-devel glib-devel intltool xmlto"
|
|
makedepends="gtk+3-devel dbus-devel json-glib-devel libSM-devel
|
|
cinnamon-desktop-devel libcanberra-devel upower-devel
|
|
elogind-devel libXtst-devel xapps-devel"
|
|
depends="cinnamon-desktop desktop-file-utils hicolor-icon-theme elogind"
|
|
short_desc="Cinnamon session handler"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later, LGPL-2.0-or-later"
|
|
homepage="https://linuxmint-developer-guide.readthedocs.io/en/latest/cinnamon.html#cinnamon-session"
|
|
distfiles="https://github.com/linuxmint/${pkgname}/archive/${version}.tar.gz"
|
|
checksum=66301a1eb748f646c419ced76f3388d8d6af0436716c737842cd85f359bd38d4
|