3353bf4722
```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
601 B
Bash
18 lines
601 B
Bash
# Template file for 'xstarter'
|
|
pkgname=xstarter
|
|
version=0.8.0
|
|
revision=2
|
|
build_style=cmake
|
|
hostmakedepends="pkg-config"
|
|
makedepends="glib-devel ncurses-devel"
|
|
short_desc="Application launcher for Linux"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://xstarter.org"
|
|
changelog="https://raw.githubusercontent.com/lchsk/xstarter/master/CHANGELOG"
|
|
distfiles="https://github.com/lchsk/xstarter/archive/v${version}.tar.gz"
|
|
checksum=cb82bf837a2693cbbad468812d517256e079d6aae56dde770d473b245603030a
|
|
|
|
pre_configure() {
|
|
vsed -i CMakeLists.txt -e's;-Wall;-fcommon &;'
|
|
}
|