pulseaudio: remove INSTALL and move INSTALL.msg.

INSTALL script installed a /usr/lib32 symlink to /usr/lib on x86
machines (added in 5bb3a0cf7b), which has
been unnecessary for a long time, given that base-files contains the
symlink already. It was also the wrong solution: libdir being special
cased to /usr/lib32 on i686 (to provide the multilib repo) should have
led to the symlink being part of some base package, not a workaround in
a specific package.

Furthermore, ever since 488edb2a9c, the
package follows Void's policy of always using /usr/lib$wordsize as
libdir, instead of /usr/lib, and most things dealing with library paths
shouldn't be package specific.

---

Since we are here:

INSTALL.msg doesn't need to be printed every time the package is
updated, so move to README.voidlinux.

Don't use -f in rm commands.
This commit is contained in:
Érico Nogueira 2021-04-21 18:36:24 -03:00
parent e0790f19b4
commit 63f49c193b
3 changed files with 3 additions and 9 deletions

View file

@ -1,7 +0,0 @@
case "${ACTION}" in
post)
if [ "$ARCH" = "i686" ]; then
ln -sf lib usr/lib32
fi
;;
esac

View file

@ -1,7 +1,7 @@
# Template file for 'pulseaudio'
pkgname=pulseaudio
version=14.2
revision=2
revision=3
build_style=meson
# XXX: new version should be able to enable systemd functionality using elogind
configure_args="-Djack=enabled -Dlirc=disabled -Dhal-compat=false -Dorc=enabled
@ -47,8 +47,9 @@ pre_configure() {
}
post_install() {
rm -f ${DESTDIR}/etc/dbus-1/system.d/pulseaudio-system.conf
rm ${DESTDIR}/etc/dbus-1/system.d/pulseaudio-system.conf
vsv pulseaudio
vdoc $FILESDIR/README.voidlinux
}
libpulseaudio_package() {