76acfa2dd2
```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
629 B
Bash
19 lines
629 B
Bash
# Template file for 'voltron'
|
|
pkgname=voltron
|
|
version=0.1.7
|
|
revision=5
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3-blessed python3-Flask python3-Pygments python3-pysigset
|
|
python3-requests python3-scruffy python3-requests-unixsocket
|
|
python3-Flask-RESTful python3-setuptools"
|
|
short_desc="Hacky debugger UI for hackers"
|
|
maintainer="Andrew Benson <abenson+void@gmail.com>"
|
|
license="MIT"
|
|
homepage="https://github.com/snare/voltron"
|
|
distfiles="${homepage}/archive/v${version}.tar.gz"
|
|
checksum=2919dabe5ebc05672dcedf400754e3fbce8c3b9f8608a64cea205591f3b47f63
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|