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

# source: james
TARBALL=libcerf-v$PKGVER.tar.gz
MD5SUM=c8690c6b01d3718e49e71a71eab79eea
SRC_URL=https://jugit.fz-juelich.de/mlz/libcerf/-/archive/v$PKGVER/$TARBALL
BUNDLE=

SLACKREQ=
SLACKDESC="libcerf: libcerf $PKGVER (Complex error functions)
libcerf: 
libcerf: A self-contained numeric library that provides an efficient and 
libcerf: accurate implementation of complex error functions, along with 
libcerf: Dawson, Faddeeva, and Voigt functions.
libcerf: 
libcerf: https://jugit.fz-juelich.de/mlz/libcerf
libcerf: 
libcerf: 
libcerf: 
libcerf: 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/libcerf* &&
	sed -i -e 's|DESTINATION.*/lib|&64|' CMakeLists.txt lib/CMakeLists.txt &&
	pkg_build_cmake &&
	pkg_build_slackdesc &&
	sed -i -e 's|/lib|&64|' /usr/$LIBDIR/pkgconfig/libcerf.pc
}


