# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=sound-theme-freedesktop
pkgver=0.8
pkgrel=0
pkgdesc="Stereo sound theme"
url="https://www.freedesktop.org/wiki/Specifications/sound-theme-spec/"
arch="noarch"
license="CC-BY-SA AND GPL-2.0+ AND CC-BY-3.0 AND GPL-2.0-only"
depends=""
makedepends="intltool"
subpackages=""
source="https://people.freedesktop.org/~mccann/dist/sound-theme-freedesktop-$pkgver.tar.bz2"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	cd "$builddir"
	make check
}

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

sha512sums="f08e0414443f3a47bc433a69a7226d2b9383bc7c64e0711e8a605bd761ac69ea052a6db7f0037d88fbf0900efddaae6466ca96391eb71295ee1d0edbd0364621  sound-theme-freedesktop-0.8.tar.bz2"