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

# source: james
TARBALL=libcerf-$PKGVER.tar.gz
MD5SUM=2c8466e79ca9a50f98d3dee1f81aa6dd
SRC_URL=https://jugit.fz-juelich.de/mlz/libcerf/uploads/924b8d245ad3461107ec630734dfc781/libcerf-$PKGVER.tgz
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
}


