void-packages/srcpkgs/dillo/template
Đoàn Trần Công Danh b6bcd8cd34 srcpkgs/d*: convert patches to -Np1
* daemontools and dmraid 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
```
2021-06-20 13:17:29 +07:00

17 lines
601 B
Bash

# Template file for 'dillo'
pkgname=dillo
version=3.0.5
revision=13
build_style=gnu-configure
configure_args="--enable-ssl --enable-ipv6 --enable-threaded-dns"
conf_files="/etc/dillo/dillorc
/etc/dillo/domainrc
/etc/dillo/dpidrc
/etc/dillo/keysrc"
makedepends="fltk-devel openssl-devel"
short_desc="Small and light graphical web browser"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-3.0-or-later"
homepage="http://www.dillo.org/download/"
distfiles="http://www.dillo.org/download/${pkgname}-${version}.tar.bz2"
checksum=db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b