pkgname: 'speech-dispatcher' pkgver: '0.12.1' pkgrel: '4' pkgdesc: 'High-level device independent layer for speech synthesis interface' url: 'https://devel.freebsoft.org/speechd' arch: x86_64 license: - 'GPL2 GPL3 LGPL2.1' depends: [] makedepends: - automake - texinfo - intltool - dotconf - pulseaudio - 'python-xdg' source: - 'https://github.com/brailcom/speechd/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz' sha256sums: - SKIP build: | cd ${pkgname}-${pkgver} ./configure --prefix=/usr \ --disable-static \ --sysconfdir=/etc \ --without-flite make make DESTDIR="${PKGDIR}" install sed -i 's|includedir=.*|includedir=${prefix}/include/speech-dispatcher|g' \ ${PKGDIR}/usr/lib/pkgconfig/speech-dispatcher.pc # Obsolets libs rm -f ${PKGDIR}/usr/lib/libspeechd.la rm -f ${PKGDIR}/usr/lib/speech-dispatcher/spd_alsa.la rm -f ${PKGDIR}/usr/lib/speech-dispatcher/spd_oss.la rm -f ${PKGDIR}/usr/lib/speech-dispatcher/spd_pulse.la # Broken one rm ${PKGDIR}/usr/libexec/speech-dispatcher-modules/sd_kali rm ${PKGDIR}/usr/libexec/speech-dispatcher-modules/sd_voxin rm ${PKGDIR}/usr/libexec/speech-dispatcher-modules/sd_baratinoo install -Dm644 COPYING.GPL-2 ${PKGDIR}/usr/share/licenses/${pkgname}/COPYING.GPL-2 install -Dm644 COPYING.GPL-3 ${PKGDIR}/usr/share/licenses/${pkgname}/COPYING.GPL-3 install -Dm644 COPYING.LGPL ${PKGDIR}/usr/share/licenses/${pkgname}/COPYING.LGPL package: | true