alsa-firmware: prevent conflict with linux-firmware

This commit is contained in:
cr6git 2017-10-16 20:10:42 +02:00
parent 20e0cb46c3
commit 6a53f0460f

View file

@ -1,7 +1,7 @@
# Template file for 'alsa-firmware'
pkgname=alsa-firmware
version=1.0.29
revision=1
revision=2
build_style=gnu-configure
configure_args="--with-hotplug-dir=/usr/lib/firmware"
nostrip=yes
@ -13,3 +13,10 @@ 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
}