# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=sndio
pkgver=1.6.0
pkgrel=0
pkgdesc="Small audio and MIDI framework part of the OpenBSD project"
url="http://www.sndio.org/"
arch="all"
license="ISC"
depends=""
makedepends="alsa-lib-dev"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
source="http://www.sndio.org/sndio-$pkgver.tar.gz"
builddir="$srcdir/sndio-$pkgver"

build() {
	cd "$builddir"
	./configure --prefix=/usr
	make
}

package() {
	cd "$builddir"
	make install DESTDIR="$pkgdir"
}

sha512sums="32d668b5d50096cc2c5c29823c066475ceb06e394163d346697ceae853650cb407a77279c30f0fe703df894f19e8c818c1b8c0b84c17480cd54b25b6fc9fe3ce  sndio-1.6.0.tar.gz"
