75403cef76
```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 ```
23 lines
871 B
Bash
23 lines
871 B
Bash
# Template file for '66-tools'
|
|
pkgname=66-tools
|
|
version=0.0.7.3
|
|
revision=1
|
|
wrksrc=${pkgname}-v${version}
|
|
build_style=configure
|
|
configure_args="--prefix=/usr
|
|
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
|
|
--with-lib=${XBPS_CROSS_BASE}/usr/lib"
|
|
make_install_target="install install-man install-html"
|
|
hostmakedepends="pkg-config lowdown"
|
|
makedepends="oblibs-devel execline-devel skalibs-devel"
|
|
short_desc="Small tools and helpers for service scripts execution"
|
|
maintainer="mobinmob <mobinmob@disroot.org>"
|
|
license="ISC"
|
|
homepage="http://web.obarun.org/software/index.html"
|
|
changelog="https://framagit.org/Obarun/66-tools/-/raw/master/doc/upgrade.md"
|
|
distfiles="https://framagit.org/Obarun/66-tools/-/archive/v${version}/66-tools-v${version}.tar.gz"
|
|
checksum=c8cbe0d6c104e4d87d588d5980201770a6fd2fad11f99ff138a37ff918d68491
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|