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

# source: james
TARBALL=apulse-${PKGVER}.tar.gz
MD5SUM=9745e6ee3391f44a30c6a7642de19186
SRC_URL=https://github.com/i-rinat/apulse/archive/v${PKGVER}.tar.gz
BUNDLE=

SLACKREQ='alsa-lib32'
SLACKDESC="libapulse: libapulse $PKGVER (PulseAudio Emulation for ALSA)
libapulse: 
libapulse: PulseAudio emulation for ALSA. Required for software that demands
libapulse: pulseaudio. Recent Firefox seems to require this.
libapulse: 
libapulse: You will also need this for skype (but you need 32-bit version
libapulse: of the library, not this one.
libapulse: 
libapulse: https://github.com/i-rinat/apulse
libapulse: 
libapulse: 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/apulse*
	CMAKEFLAGS="$CMAKE_FLAGS \
		-DCMAKE_INSTALL_PREFIX=/tmp \
		-DAPULSEPATH=/usr/$LIBDIR \
		-DCMAKE_BUILD_TYPE=Release"
	pkg_build_cmake &&
	pkg_build_slackdesc
}


