New comment by zenny on void-packages repository https://github.com/void-linux/void-packages/issues/26349#issuecomment-727638225 Comment: Hi, I am trying to build RHvoice package from the source (https://github.com/Olga-Yakovleva/RHVoice). Just saw an AUR build (https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=rhvoice) and tried to make an xbps-src template. See http://ix.io/2Edy. Any inputs to make it compatible appreciated! Thanks! ``` # Template file for 'rhvoice-git' pkgname=rhvoice-git version=1.2.3.r37.2dc35bc revision=1 build_style=gnu-configure configure_args="--disable-multilib --disable-bootstrap --disable-lto --enable-checking=release --enable-host-shared --enable-languages=jit" hostmakedepends="git scons speech-dispatcher portaudio libao" makedepends="libpulse" short_desc="Free and open source speech synthesizer for Russian and other languages. (development version" maintainer="null" license="GPL-3.0-or-later" homepage="https://github.com/Olga-Yakovleva/RHVoice" distfiles="${pkgname%-git}::'git+https://github.com/Olga-Yakovleva/RHVoice.git')" checksum=SKIP provides=("${pkgname%-git}") conflicts=("${pkgname%-git}") backup=('etc/RHVoice/RHVoice.conf') wrksrc="rhvoice-${version}" version() { cd "$srcdir/${pkgname%-git}" printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')" } build() { cd "$srcdir/${pkgname%-git}" scons prefix="/usr" sysconfdir="/etc" CPPFLAGS="$CPPFLAGS" CCFLAGS="$CFLAGS" \ LINKFLAGS="$LDFLAGS" } package() { cd "$srcdir/${pkgname%-git}" mkdir -p "${pkgdir}/usr/lib/speech-dispatcher-modules" scons install DESTDIR="${pkgdir}" prefix="/usr" sysconfdir="/etc" \ CPPFLAGS="$CPPFLAGS" CCFLAGS="$CFLAGS" LINKFLAGS="$LDFLAGS" ln -s "/usr/bin/sd_rhvoice" "${pkgdir}/usr/lib/speech-dispatcher-modules/sd_rhvoice" } ```