* 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 ```
13 lines
516 B
Bash
13 lines
516 B
Bash
# Template file for 'dislocker'
|
|
pkgname=dislocker
|
|
version=0.7.3
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DLIB_INSTALL_DIR=lib"
|
|
makedepends="mbedtls-devel fuse-devel"
|
|
short_desc="FUSE driver to read/write Windows Bitlocker-ed volumes under Linux"
|
|
maintainer="Samsky <samsky72@gmail.com>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://github.com/Aorimn/dislocker"
|
|
distfiles="https://github.com/Aorimn/${pkgname}/archive/v${version}.tar.gz"
|
|
checksum=8d5275577c44f2bd87f6e05dd61971a71c0e56a9cbedf000bd38deadd8b6c1e6
|