4f75cf25fd
```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 ```
16 lines
476 B
Bash
16 lines
476 B
Bash
# Template file for 'tmfs'
|
|
pkgname=tmfs
|
|
version=r5
|
|
revision=7
|
|
build_style=cmake
|
|
hostmakedepends="pkg-config"
|
|
makedepends="fuse-devel boost-devel"
|
|
short_desc="Apple Time Machine read-only mounting utility"
|
|
maintainer="sth <sth@nvsbl.org>"
|
|
license="MIT"
|
|
homepage="https://github.com/abique/tmfs"
|
|
distfiles="https://github.com/abique/tmfs/archive/${version}.tar.gz"
|
|
checksum="897ad09e21ddd8e912dc1baba4466d8a65a09b3abdeb31e4640c2d770915f2f4"
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|