### this file is sourced not run
PKGBUILD=1
PKGARCH=x86_64

# source: james
# release tarball
#PKGVER=
#TARBALL=
#MD5SUM=
#SRC_URL=
#BUNDLE=

# git-master tarball
PKGVER=0.2.0.2021.05
MD5SUM=ce2a705354da2ac1487c563107ad449d
hash=ba331411f17702e01f6c2d7016eefebaa695871f
hash7=${hash#???????}; hash7=${hash%$hash7}
TARBALL=sonic-$PKGVER.tar.gz
SRC_URL=https://github.com/waywardgeek/sonic/archive/$hash.tar.gz

SLACKREQ=''
SLACKDESC="libsonic: libsonic $PKGVER (Speech speedup/slowdown library)
libsonic: 
libsonic: Sonic is a simple algorithm for speeding up or slowing down speech. 
libsonic: It is optimised for speed ups of over 2X. It is a simple library 
libsonic: designed to integrate easily into streaming voice applications, like 
libsonic: TTS back ends.
libsonic: 
libsonic: https://github.com/waywardgeek/sonic
libsonic: 
libsonic: 
libsonic: 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/sonic* &&
	make && make install LIBDIR=/usr/$LIBDIR &&
	rm -r /usr/$LIBDIR/libsonic.a && # don't want the static lib
	pkg_build_slackdesc
}


