net-misc/kristall: Fix building a second time in src_install

Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
This commit is contained in:
Haelwenn (lanodan) Monnier
2020-11-12 20:51:48 +01:00
parent ea9116df9f
commit 148609f464

View File

@@ -20,13 +20,10 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
src_configure() {
# qmake overwrites Makefile but it is needed for installing.
mv Makefile{,.tmp} || die
eqmake5 src/kristall.pro
src_compile() {
emake
}
src_install() {
mv Makefile{.tmp,} || die
INSTALL="install -D" PREFIX="${EPREFIX}/usr" default
emake DESTDIR="${D}" INSTALL="install -D" PREFIX="${EPREFIX}/usr" install
}