4b97cd2fb4
```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
754 B
Bash
17 lines
754 B
Bash
# Template file for 'seahorse-nautilus'
|
|
pkgname=seahorse-nautilus
|
|
version=3.10.1
|
|
revision=5
|
|
build_style=gnu-configure
|
|
configure_args="--disable-schemas-compile"
|
|
hostmakedepends="pkg-config intltool gpgme-devel gnupg glib"
|
|
makedepends="gtk+3-devel nautilus-devel libnotify-devel
|
|
gpgme-devel libcryptui-devel gcr-devel libgnome-keyring-devel"
|
|
depends="gnupg desktop-file-utils"
|
|
short_desc="Nautilus plugin for OpenPGP file encryption/decryption"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="http://www.gnome.org/projects/seahorse/"
|
|
distfiles="${GNOME_SITE}/seahorse-nautilus/${version%.*}/seahorse-nautilus-${version}.tar.xz"
|
|
checksum=eacaf33bba920cf117641393a6eef483dbc075009349082e77d22f79afbd823a
|
|
lib32disabled=yes
|