void-packages/srcpkgs/speakersafetyd/template

23 lines
737 B
Bash

# Template file for 'speakersafetyd'
pkgname=speakersafetyd
version=1.1.2
revision=1
build_style=cargo
hostmakedepends="alsa-lib pkg-config"
makedepends="alsa-lib-devel"
short_desc="Software Smart Amp implementation"
maintainer="dkwo <npiazza@disroot.org>"
license="MIT"
homepage="https://github.com/AsahiLinux/speakersafetyd"
distfiles="https://github.com/AsahiLinux/speakersafetyd/archive/refs/tags/${version}.tar.gz"
checksum=b3ccbbf4c3ee0da537203186f80eb8f3cc16037bf41f4cd0de50b7cd25dd713f
system_accounts="_speakersafetyd"
make_dirs="/var/lib/${pkgname}/blackbox 0700 _${pkgname} _${pkgname}"
post_install() {
DESTDIR="${DESTDIR}" make install-data
mv ${DESTDIR}/lib/* ${DESTDIR}/usr/lib
vlicense LICENSE
vsv speakersafetyd
}