# Maintainer: Marvin Steadfast <marvin@xsteadfastx.org>
pkgname=cpiped
pkgver=0.1.0
pkgrel=0
pkgdesc="Captures an audio stream and outputs it to a pipe"
url="https://github.com/b-fitzpatrick/cpiped"
arch="all"
license="GPL-3.0"
options="!check"
depends=""
makedepends="alsa-lib-dev"
install=
subpackages=
source="cpiped-$pkgver.tar.gz::https://github.com/b-fitzpatrick/cpiped/archive/v$pkgver.tar.gz"
builddir="$srcdir/cpiped-$pkgver"

build() {
	cd "$builddir"
	make
}

package() {
	cd "$builddir"
	install -Dm755 cpiped "$pkgdir"/usr/bin/cpiped
}

sha512sums="410ca84fedf66b83828f6238c8745e7d6d72077d445db18765d347da947ef10bbf675861791f0e987839696b2bf498886a47dff37b6d12e1b672d090c1e7081f  cpiped-0.1.0.tar.gz"
