makedepends=(glib alsa-lib cmake)

description="PulseAudio emulation for ALSA."
url="https://github.com/i-rinat/apulse"

packager="Great-OS Team"
contributors="Greg"

PKGMK_KEEP_SOURCES="no"

name=apulse
version=0.1.14
release=3

source=(https://github.com/i-rinat/$name/archive/v$version.tar.gz)

build() {

mkdir -pv build && cd build

cmake -DCMAKE_INSTALL_PREFIX=/usr \
      -DCMAKE_BUILD_TYPE=Release  \
      ../$name-$version

make
make DESTDIR=$PKG install
}
