986c0a7d5e
```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 ```
15 lines
594 B
Bash
15 lines
594 B
Bash
# Template file for 'icecast'
|
|
pkgname=icecast
|
|
version=2.4.4
|
|
revision=4
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config libxml2-devel"
|
|
makedepends="openssl-devel libcurl-devel speex-devel
|
|
libtheora-devel libvorbis-devel libxslt-devel"
|
|
short_desc="Free server software for streaming multimedia"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-only"
|
|
homepage="http://www.icecast.org/"
|
|
distfiles="http://downloads.xiph.org/releases/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
checksum=49b5979f9f614140b6a38046154203ee28218d8fc549888596a683ad604e4d44
|
|
conf_files="/etc/icecast.xml"
|