4f75cf25fd
```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 ```
17 lines
587 B
Bash
17 lines
587 B
Bash
# Template file for 'tickr'
|
|
pkgname=tickr
|
|
version=0.7.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config"
|
|
makedepends="gtk+-devel libxml2-devel gnutls-devel fribidi-devel"
|
|
short_desc="Gtk-based rss reader in a ticker bar"
|
|
maintainer="Benjamín Albiñana <benalb@gmail.com>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://www.open-tickr.net/"
|
|
distfiles="https://www.open-tickr.net/src/${pkgname}-${version}.tar.gz"
|
|
checksum=37dd2d970cd9bf9b0ebc5e6cbf6605ea460008f577a43a7500e506e9dffcd802
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
arm*|ppc64|ppc) configure_args+=" LIBS=-lm" ;;
|
|
esac
|