ae69000001
* arduino and antiword 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 ```
15 lines
637 B
Bash
15 lines
637 B
Bash
# Template file for 'azpainter'
|
|
pkgname=azpainter
|
|
version=2.1.6
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="libpng-devel libjpeg-turbo-devel libXi-devel
|
|
fontconfig-devel"
|
|
makedepends="$hostmakedepends"
|
|
depends="desktop-file-utils hicolor-icon-theme"
|
|
short_desc="Full-color painting software for illustration drawing"
|
|
maintainer="Alexander Mamay <alexander@mamay.su>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://github.com/Symbian9/azpainter"
|
|
distfiles="https://github.com/Symbian9/azpainter/releases/download/v${version}/${pkgname}-${version}.tar.xz"
|
|
checksum=85f3f935e76b420f2e5e272514368fdfbe4c25c01daa1e161ac28a6e1edb0d2c
|