# Contributor: Angelo Verlain <hey@vixalien.com>
maintainer="Angelo Verlain <hey@vixalien.com>"
pkgname=elementary-sound-theme
pkgver=1.1.0
pkgrel=0
pkgdesc="The system sounds for elementary OS"
url="https://github.com/elementary/sound-theme"
arch="noarch"
license="Unlicense"
makedepends="meson"
source="$pkgname-$pkgver.tar.gz::https://github.com/elementary/sound-theme/archive/refs/tags/$pkgver.tar.gz"

builddir="$srcdir/sound-theme-$pkgver"

build() {
	abuild-meson . output
	meson compile -C output
}

check() {
	meson test --print-errorlogs -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
1c704d6bd7c5f09792b7bf43a7d27ddeff2fbbd82eaa67d7c53012d3caea7beca6f91a531212f66fffe4ca8e58cfc23e42b2ce217a445ae94469f07b4c369857  elementary-sound-theme-1.1.0.tar.gz
"
