void-packages/srcpkgs/mimic/template
Đoàn Trần Công Danh a92d370caa srcpkgs: add patch_args=-Np0 en-mass
Generated with:

	git ls-files 'srcpkgs/**/patches/*' |
	cut -d/ -f2 | uniq |
	xargs printf 'srcpkgs/%s/template\n'  |
	xargs grep -L 'patch_args=' |
	xargs sed -i "$(printf '1,/^$/{/^$/i\\\npatch_args=-Np0\n}\n')"
2021-06-20 13:17:29 +07:00

36 lines
979 B
Bash

# Template file for 'mimic'
pkgname=mimic
version=1.3.0.1
revision=1
wrksrc="${pkgname}1-${version}"
build_style=gnu-configure
configure_args="--enable-shared --enable-static"
hostmakedepends="automake libtool pkg-config"
makedepends="alsa-lib-devel icu-devel pcre2-devel"
short_desc="Mycroft's lightweight Text-to-speech engine"
maintainer="Rubén Santos <kojicomics@cocaine.ninja>"
license="custom: permissive BSD-like"
homepage="https://github.com/MycroftAI/mimic"
changelog="https://github.com/MycroftAI/mimic1/releases"
distfiles="https://github.com/MycroftAI/mimic/archive/${version}.tar.gz"
checksum=9041f5c7d3720899c90c890ada179c92c3b542b90bb655c247e4a4835df79249
patch_args=-Np0
pre_configure() {
./autogen.sh
}
post_install() {
vlicense COPYING
}
mimic-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}