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 ```
18 lines
582 B
Bash
18 lines
582 B
Bash
# Template file for 'thingylaunch'
|
|
pkgname=thingylaunch
|
|
version=2.0.3
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DUSE_XCB=ON"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="xcb-util-wm-devel xcb-util-keysyms-devel"
|
|
short_desc="X11 application launcher with tab-completion, history, and bookmarks"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="BSD"
|
|
homepage="https://gahr.ch/thingylaunch/"
|
|
distfiles="https://github.com/gahr/${pkgname}/archive/${version}.tar.gz"
|
|
checksum=4d9cc6b826bddb3d02836f721316bfc24c2b31f75c9c2d5077ae162eb3d60b60
|
|
|
|
post_install() {
|
|
vlicense COPYRIGHT
|
|
}
|