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 ```
31 lines
884 B
Bash
31 lines
884 B
Bash
# Template file for 'audiofile'
|
|
pkgname=audiofile
|
|
version=0.3.6
|
|
revision=3
|
|
wrksrc="$pkgname-$pkgname-$version"
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake libtool asciidoc pkg-config"
|
|
makedepends="alsa-lib-devel libflac-devel"
|
|
short_desc="C library for reading and writing audio files"
|
|
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="http://audiofile.68k.org"
|
|
distfiles="http://github.com/mpruett/audiofile/archive/audiofile-${version}.tar.gz"
|
|
checksum=52125fee6c7454d743acdc27ebda194c6b5c7b9111426c7d5fdea0754cd366cc
|
|
disable_parallel_build=1
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
audiofile-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="audiofile>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so"
|
|
vmove "usr/lib/*.a"
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/include
|
|
vmove usr/share/man/man3
|
|
}
|
|
}
|