* gcc is kept at -Np0, because of void-cross ```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
672 B
Bash
20 lines
672 B
Bash
# Template file for 'gbdfed'
|
|
pkgname=gbdfed
|
|
version=1.6
|
|
revision=4
|
|
build_style=gnu-configure
|
|
configure_args="ac_cv_file_hbf_c=no"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="gtk+-devel"
|
|
short_desc="GTK2 bitmap font editor"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="BSD-2-Clause, MIT"
|
|
homepage="http://sofia.nmsu.edu/~mleisher/Software/gbdfed/"
|
|
distfiles="https://src.fedoraproject.org/repo/pkgs/gbdfed/gbdfed-${version}.tar.bz2/2a2e1cbfe8566db6d302f0b9ab79b8dd/gbdfed-${version}.tar.bz2"
|
|
checksum=5db25d4ce688dcb188dee056e58614a94a5e4fce4b6066fbb310951ab999093c
|
|
|
|
post_install() {
|
|
sed '/^$/q' <gbdfed.c >LICENSE
|
|
sed '/^$/q' <hbf.c >>LICENSE
|
|
vlicense LICENSE
|
|
}
|