summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/djvu')
-rw-r--r--app-text/djvu/ChangeLog7
-rw-r--r--app-text/djvu/djvu-3.5.23.ebuild14
2 files changed, 13 insertions, 8 deletions
diff --git a/app-text/djvu/ChangeLog b/app-text/djvu/ChangeLog
index 9776cd955a71..dc8cb7f72fb4 100644
--- a/app-text/djvu/ChangeLog
+++ b/app-text/djvu/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-text/djvu
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/djvu/ChangeLog,v 1.109 2010/10/15 14:06:47 pva Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/djvu/ChangeLog,v 1.110 2011/02/09 14:54:50 scarabeus Exp $
+
+ 09 Feb 2011; Tomáš Chvátal <scarabeus@gentoo.org> djvu-3.5.23.ebuild:
+ QA: Use pretty loop instead of repeating the same commands.
*djvu-3.5.23 (15 Oct 2010)
diff --git a/app-text/djvu/djvu-3.5.23.ebuild b/app-text/djvu/djvu-3.5.23.ebuild
index efc3dd1a0b79..537620dd7494 100644
--- a/app-text/djvu/djvu-3.5.23.ebuild
+++ b/app-text/djvu/djvu-3.5.23.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/djvu/djvu-3.5.23.ebuild,v 1.1 2010/10/15 14:06:47 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/djvu/djvu-3.5.23.ebuild,v 1.2 2011/02/09 14:54:50 scarabeus Exp $
EAPI="2"
inherit fdo-mime autotools flag-o-matic
@@ -70,10 +70,12 @@ src_install() {
# Install desktop files.
cd desktopfiles
- insinto /usr/share/icons/hicolor/22x22/mimetypes && newins hi22-djvu.png image-vnd.djvu.png || die
- insinto /usr/share/icons/hicolor/32x32/mimetypes && newins hi32-djvu.png image-vnd.djvu.png || die
- insinto /usr/share/icons/hicolor/48x48/mimetypes && newins hi48-djvu.png image-vnd.djvu.png || die
- insinto /usr/share/mime/packages && doins djvulibre-mime.xml || die
+ for i in {22,32,48}; do
+ insinto /usr/share/icons/hicolor/${i}x${i}/mimetypes
+ newins hi${i}-djvu.png image-vnd.djvu.png || die
+ done
+ insinto /usr/share/mime/packages
+ doins djvulibre-mime.xml || die
}
pkg_postinst() {