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 ```
21 lines
675 B
Bash
21 lines
675 B
Bash
# Template file for 'abook'
|
|
pkgname=abook
|
|
version=0.6.1
|
|
revision=3
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake libtool gettext gettext-devel tar"
|
|
makedepends="ncurses-devel readline-devel"
|
|
short_desc="Text-based addressbook designed to use with mutt mail client"
|
|
maintainer="Philipp Hirsch <itself@hanspolo.net>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="http://abook.sourceforge.net/"
|
|
distfiles="http://abook.sourceforge.net/devel/${pkgname}-${version}.tar.gz"
|
|
checksum=f0a90df8694fb34685ecdd45d97db28b88046c15c95e7b0700596028bd8bc0f9
|
|
|
|
post_extract() {
|
|
autoreconf --install
|
|
}
|
|
|
|
post_install() {
|
|
for f in BUGS ChangeLog FAQ README TODO sample.abookrc; do vdoc $f; done
|
|
}
|