app-arch/dpkg: install /etc/dpkg/origins vendor files

Closes: https://bugs.gentoo.org/840320
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
This commit is contained in:
Georgy Yakovlev
2023-01-04 01:04:13 -08:00
parent d09b2198e2
commit de67154ec4
+9
View File
@@ -90,6 +90,15 @@ src_install() {
# https://bugs.gentoo.org/835520
mv -v "${ED}"/usr/share/zsh/{vendor-completions,site-functions} || die
# https://bugs.gentoo.org/840320
insinto /etc/dpkg/origins
newins - gentoo <<-_EOF_
Vendor: Gentoo
Vendor-URL: https://www.gentoo.org/
Bugs: https://bugs.gentoo.org/
_EOF_
dosym gentoo /etc/dpkg/origins/default
keepdir \
/usr/$(get_libdir)/db/methods/{mnt,floppy,disk} \
/var/lib/dpkg/{alternatives,info,parts,updates}