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
567 B
Bash
18 lines
567 B
Bash
# Template file for 'xsettingsd'
|
|
pkgname=xsettingsd
|
|
version=1.0.2
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="pkg-config libX11-devel"
|
|
makedepends="libX11-devel"
|
|
short_desc="Daemon that implements the XSETTINGS specification"
|
|
maintainer="Duncaen <duncaen@voidlinux.org>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://github.com/derat/xsettingsd"
|
|
distfiles="https://github.com/derat/xsettingsd/archive/v${version}.tar.gz"
|
|
checksum=69b5d1987608d1b5f2a0085f2f88cc55936a99b92279118e655d665ebb5e50d3
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
rm -rf "${DESTDIR}/usr/lib/systemd"
|
|
}
|