be5369a0cb
* fpc 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 ```
20 lines
588 B
Bash
20 lines
588 B
Bash
# Template file for 'fcitx-anthy'
|
|
pkgname=fcitx-anthy
|
|
version=0.2.4
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="pkg-config"
|
|
makedepends="anthy-devel fcitx-devel"
|
|
depends="fcitx>=4.2.9 fcitx5-anthy-icons"
|
|
short_desc="Fcitx wrapper for Anthy IM engine"
|
|
maintainer="Matthias von Faber <mvf@gmx.eu>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://fcitx-im.org/"
|
|
distfiles="https://github.com/fcitx/fcitx-anthy/archive/${version}.tar.gz"
|
|
checksum=dcb561138508757f37da8a85bdf296368b592649b15ab76e8706db47cc25402a
|
|
|
|
CXXFLAGS='-D_GNU_SOURCE'
|
|
|
|
post_install() {
|
|
rm -rf ${DESTDIR}/usr/share/icons
|
|
}
|