radeon-firmware: do not install twice the same file, bumprev.

--HG--
extra : convert_revision : d158700e3dd132e7db6c59b9fc72eab95f392191
This commit is contained in:
Juan RP 2010-03-05 04:36:31 +01:00
parent 583628e413
commit 8ffbcc71c8

View file

@ -1,6 +1,7 @@
# Template file for 'radeon-firmware'
pkgname=radeon-firmware
version=1.0
revision=1
wrksrc=$pkgname
distfiles="
http://people.freedesktop.org/~agd5f/radeon_ucode/R600_rlc.bin
@ -23,13 +24,10 @@ noarch=yes
do_install()
{
install -d ${DESTDIR}/lib/firmware/radeon
install -d ${DESTDIR}/usr/share/doc/${pkgname}
for f in ${distfiles}; do
lfile=$(basename ${f})
install -m644 ${XBPS_SRCDISTDIR}/${lfile} \
${DESTDIR}/lib/firmware/radeon || return 1
done
install -m644 ${XBPS_SRCDISTDIR}/LICENSE.radeon \
${DESTDIR}/usr/share/doc/${pkgname} || return 1
}