games-engines/scummvm: Fix xdg.eclass usage

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
This commit is contained in:
Pacho Ramos
2019-04-14 00:24:52 +02:00
parent f69f7cfb76
commit 6f865a38c3

View File

@@ -43,7 +43,7 @@ S="${WORKDIR}/${P/_/}"
PATCHES=( "${FILESDIR}/${PN}-2.0.0-freetype_pkgconfig.patch" )
src_prepare() {
default
xdg_src_prepare
# -g isn't needed for nasm here
sed -i \
@@ -96,15 +96,3 @@ src_install() {
default
doicon -s scalable icons/scummvm.svg
}
pkg_preinst() {
xdg_pkg_preinst
}
pkg_postinst() {
xdg_pkg_postinst
}
pkg_postrm() {
xdg_pkg_postrm
}