* runit is kept at -Np0 ```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
551 B
Bash
19 lines
551 B
Bash
# Template file for 'rsstail'
|
|
pkgname=rsstail
|
|
version=2.1
|
|
revision=2
|
|
build_style=gnu-makefile
|
|
makedepends="libmrss-devel"
|
|
checkdepends="cppcheck"
|
|
short_desc="More or less an rss reader"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="GPL-2.0-only"
|
|
homepage="http://www.vanheusden.com/rsstail/"
|
|
distfiles="http://www.vanheusden.com/${pkgname}/${pkgname}-${version}.tgz"
|
|
checksum=42cb452178b21c15c470bafbe5b8b5339a7fb5b980bf8d93d36af89864776e71
|
|
|
|
do_install() {
|
|
vmkdir usr/bin
|
|
vmkdir usr/share/man/man1
|
|
make prefix="${DESTDIR}/usr" install
|
|
}
|