diff --git a/srcpkgs/gnome-bluetooth/INSTALL b/srcpkgs/gnome-bluetooth/INSTALL new file mode 100644 index 00000000000..d9ecaa1cf08 --- /dev/null +++ b/srcpkgs/gnome-bluetooth/INSTALL @@ -0,0 +1,6 @@ +case "${ACTION}" in +post) + echo -n "Updating dynamic linker shared cache... " + ldconfig && echo "ok." || echo "FAILED!" + ;; +esac diff --git a/srcpkgs/gnome-bluetooth/REMOVE b/srcpkgs/gnome-bluetooth/REMOVE new file mode 100644 index 00000000000..d9ecaa1cf08 --- /dev/null +++ b/srcpkgs/gnome-bluetooth/REMOVE @@ -0,0 +1,6 @@ +case "${ACTION}" in +post) + echo -n "Updating dynamic linker shared cache... " + ldconfig && echo "ok." || echo "FAILED!" + ;; +esac diff --git a/srcpkgs/gnome-bluetooth/template b/srcpkgs/gnome-bluetooth/template index 65249b14b38..c11664b7153 100644 --- a/srcpkgs/gnome-bluetooth/template +++ b/srcpkgs/gnome-bluetooth/template @@ -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 }