summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-text/djview/djview-4.10.6-r1.ebuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/app-text/djview/djview-4.10.6-r1.ebuild b/app-text/djview/djview-4.10.6-r1.ebuild
index 6ce9a8fd2109..4f963faa98c1 100644
--- a/app-text/djview/djview-4.10.6-r1.ebuild
+++ b/app-text/djview/djview-4.10.6-r1.ebuild
@@ -38,7 +38,7 @@ src_prepare() {
# Force XEmbed instead of Xt-based mainloop (disable Xt autodep)
sed -e 's:\(ac_xt=\)yes:\1no:' -i configure* || die
sed 's/AC_CXX_OPTIMIZE/OPTS=;AC_SUBST(OPTS)/' -i configure.ac || die #263688
- rm aclocal.m4 config/{libtool.m4,install-sh,ltmain.sh,lt*.m4}
+ rm aclocal.m4 config/{libtool.m4,install-sh,ltmain.sh,lt*.m4} || die
AT_M4DIR="config" eautoreconf
}
@@ -64,14 +64,14 @@ src_install() {
einstalldocs
- cd desktopfiles
insinto /usr/share/icons/hicolor/32x32/apps
- newins prebuilt-hi32-djview4.png djvulibre-djview4.png
+ newins desktopfiles/prebuilt-hi32-djview4.png djvulibre-djview4.png
insinto /usr/share/icons/hicolor/64x64/apps
- newins prebuilt-hi64-djview4.png djvulibre-djview4.png
+ newins desktopfiles/prebuilt-hi64-djview4.png djvulibre-djview4.png
insinto /usr/share/icons/hicolor/scalable/apps
- newins djview.svg djvulibre-djview4.svg
- sed -i -e 's/Exec=djview4/Exec=djview/' djvulibre-djview4.desktop
+ newins desktopfiles/djview.svg djvulibre-djview4.svg
+ sed -e 's/Exec=djview4/Exec=djview/' \
+ -i desktopfiles/djvulibre-djview4.desktop || die
domenu djvulibre-djview4.desktop
}