gnome-bluetooth: added a conf file to update ld.so(8) cache.
This commit is contained in:
parent
96257e13c4
commit
e5360ef60e
3 changed files with 22 additions and 1 deletions
6
srcpkgs/gnome-bluetooth/INSTALL
Normal file
6
srcpkgs/gnome-bluetooth/INSTALL
Normal file
|
@ -0,0 +1,6 @@
|
|||
case "${ACTION}" in
|
||||
post)
|
||||
echo -n "Updating dynamic linker shared cache... "
|
||||
ldconfig && echo "ok." || echo "FAILED!"
|
||||
;;
|
||||
esac
|
6
srcpkgs/gnome-bluetooth/REMOVE
Normal file
6
srcpkgs/gnome-bluetooth/REMOVE
Normal file
|
@ -0,0 +1,6 @@
|
|||
case "${ACTION}" in
|
||||
post)
|
||||
echo -n "Updating dynamic linker shared cache... "
|
||||
ldconfig && echo "ok." || echo "FAILED!"
|
||||
;;
|
||||
esac
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'gnome-bluetooth'
|
||||
pkgname=gnome-bluetooth
|
||||
version=3.0.0
|
||||
revision=2
|
||||
revision=3
|
||||
distfiles="${GNOME_SITE}/$pkgname/3.0/$pkgname-$version.tar.bz2"
|
||||
build_style=gnu_configure
|
||||
configure_args="--disable-desktop-update --disable-schemas-compile
|
||||
|
@ -71,4 +71,13 @@ post_install()
|
|||
{
|
||||
install -m644 -D ${FILESDIR}/61-gnome-bluetooth-rfkill.rules \
|
||||
${DESTDIR}/lib/udev/rules.d//61-gnome-bluetooth-rfkill.rules
|
||||
install -d ${DESTDIR}/etc/ld.so.conf.d
|
||||
echo "/usr/lib/gnome-bluetooth" > \
|
||||
${DESTDIR}/etc/ld.so.conf.d/${pkgname}.conf
|
||||
}
|
||||
|
||||
post_stow()
|
||||
{
|
||||
msg_normal "Updating ld.so(8) cache for ${pkgname}...\n"
|
||||
ldconfig -f /etc/ld.so.conf.d/${pkgname}.conf
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue