#Packager: George Vlahavas pkgname=apulse pkgver=0.1.9 pkgrel=1gv_salix14.0 source=("https://github.com/i-rinat/apulse/archive/v${pkgver}.tar.gz") docs=("readme.md" "license.mit") url=https://github.com/i-rinat/apulse slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "apulse (pulseaudio emulation for ALSA)" "The program provides an alternative partial implementation of the" "PulseAudio API. It consists of a loader script and a number of shared" "libraries with the same names as from original PulseAudio, so" "applications could dynamically load them and think they are talking to" "PulseAudio." ) build() { cd $startdir/src/$pkgname-$pkgver mkdir -pv build cd build cmake \ -DAPULSEPATH=/usr/lib${LIBDIRSUFFIX} \ -DAPULSE_SEARCH_PATHS=/usr/lib${LIBDIRSUFFIX} \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ .. make VERBOSE=1 make install DESTDIR=$startdir/pkg }