void-packages/srcpkgs/alsa-firmware/template

22 lines
759 B
Bash

# Template file for 'alsa-firmware'
pkgname=alsa-firmware
version=1.0.29
revision=2
build_style=gnu-configure
configure_args="--with-hotplug-dir=/usr/lib/firmware"
nostrip=yes
nocross=yes
noarch=yes
short_desc="The Advanced Linux Sound Architecture (ALSA) firmware"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="GPL-2"
homepage="http://www.alsa-project.org"
distfiles="ftp://ftp.alsa-project.org/pub/firmware/${pkgname}-${version}.tar.bz2"
checksum=3c5ef17959e58831504d3a25e76d0a428bd9c52ebd330e06b07232ab8af4cc3d
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
}