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 ```
23 lines
658 B
Bash
23 lines
658 B
Bash
# Template file for 'taskd'
|
|
pkgname=taskd
|
|
version=1.1.0
|
|
revision=4
|
|
build_style=cmake
|
|
makedepends="libuuid-devel gnutls-devel"
|
|
depends="gnutls-tools"
|
|
short_desc="Server for sharing tasks among different clients, primarily Taskwarrior"
|
|
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
|
|
license="MIT"
|
|
homepage="http://taskwarrior.org"
|
|
distfiles="http://taskwarrior.org/download/${pkgname}-${version}.tar.gz"
|
|
checksum=7b8488e687971ae56729ff4e2e5209ff8806cf8cd57718bfd7e521be130621b4
|
|
|
|
system_accounts="taskd"
|
|
taskd_homedir="/var/lib/taskd"
|
|
make_dirs="/var/lib/taskd 0750 taskd taskd"
|
|
|
|
post_install() {
|
|
vcopy pki usr/share/taskd/
|
|
vlicense LICENSE
|
|
vsv taskd
|
|
}
|