virtualbox-ose: fix icons path.
This commit is contained in:
parent
6e1981426a
commit
e36059b8e7
1 changed files with 7 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
|||
pkgname=virtualbox-ose
|
||||
_vbox_distver=4.1.2
|
||||
version=${_vbox_distver}
|
||||
revision=2
|
||||
patch_args="-Np1"
|
||||
wrksrc="VirtualBox-${version}_OSE"
|
||||
distfiles="http://download.virtualbox.org/virtualbox/$version/VirtualBox-$version.tar.bz2"
|
||||
|
@ -43,6 +44,7 @@ Add_dependency run MesaLib
|
|||
Add_dependency run libIDL
|
||||
Add_dependency run glib
|
||||
Add_dependency run libpulseaudio
|
||||
|
||||
Add_dependency run ${pkgname}-dkms ">=${version}"
|
||||
Add_dependency run hicolor-icon-theme
|
||||
Add_dependency run desktop-file-utils
|
||||
|
@ -132,7 +134,11 @@ do_install()
|
|||
install -Dm644 virtualbox.xml \
|
||||
${DESTDIR}/usr/share/mime/packages/virtualbox.xml
|
||||
install -d ${DESTDIR}/usr/share/icons/hicolor
|
||||
cp -a icons ${DESTDIR}/usr/share/icons/hicolor
|
||||
for i in icons/*; do
|
||||
ldir=$(basename ${i})
|
||||
install -d ${DESTDIR}/usr/share/icons/hicolor/${ldir}/mimetypes
|
||||
cp -a ${i}/* ${DESTDIR}/usr/share/icons/hicolor/${ldir}/mimetypes
|
||||
done
|
||||
|
||||
# configuration file
|
||||
mkdir -p ${DESTDIR}/etc/vbox
|
||||
|
|
Loading…
Reference in a new issue