void-packages/srcpkgs/alsa-firmware/template

23 lines
764 B
Bash

# Template file for 'alsa-firmware'
pkgname=alsa-firmware
version=1.2.1
revision=1
archs=noarch
build_style=gnu-configure
configure_args="--with-hotplug-dir=/usr/lib/firmware"
short_desc="Advanced Linux Sound Architecture (ALSA) firmware"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="GPL-2.0-only"
homepage="http://www.alsa-project.org"
distfiles="ftp://ftp.alsa-project.org/pub/firmware/${pkgname}-${version}.tar.bz2"
checksum=aea27c571dbe02ede298cf9f637d8dfdb758e032e372c8d7e96ccb2b15fa08ab
nocross=yes
nostrip=yes
post_install() {
# Removed to prevent any conflict with 'linux-firmware' package
rm -rfv ${DESTDIR}/usr/lib/firmware/{ess,korg,sb16,yamaha}
rm -fv ${DESTDIR}/usr/lib/firmware/ctefx.bin
rm -fv ${DESTDIR}/usr/lib/firmware/ctspeq.bin
}