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 ```
16 lines
643 B
Bash
16 lines
643 B
Bash
# Template file for 'apvlv'
|
|
pkgname=apvlv
|
|
version=0.2.0
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DAPVLV_WITH_UMD=no -DAPVLV_WITH_DJVU=yes -DAPVLV_WITH_TXT=yes"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="gtk+3-devel poppler-glib-devel djvulibre-devel webkit2gtk-devel ebook-tools-devel"
|
|
depends="desktop-file-utils"
|
|
short_desc="Vim-like PDF/DJVU/TXT viewer"
|
|
maintainer="Logen K <logen@sudotask.com>"
|
|
license="GPL-2.0-only"
|
|
homepage="http://naihe2010.github.io/apvlv/"
|
|
distfiles="https://github.com/naihe2010/apvlv/archive/v${version}.tar.gz"
|
|
checksum=a4a2f42a7e42715a21d2356def3ed93c180c6ae41128580addee42835e5374c2
|
|
replaces="apvlv-git>=0"
|