summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2012-10-12 12:53:00 +0000
committerSergey Popov <pinkbyte@gentoo.org>2012-10-12 12:53:00 +0000
commitfb3ab536de92e98687542e4797d9e7f571c34905 (patch)
tree32eb831d117ccb416805b102e0bf757ff5af6d07 /x11-misc/macopix
parentmake patch upstream compatible (diff)
downloadgentoo-2-fb3ab536de92e98687542e4797d9e7f571c34905.tar.gz
gentoo-2-fb3ab536de92e98687542e4797d9e7f571c34905.tar.bz2
gentoo-2-fb3ab536de92e98687542e4797d9e7f571c34905.zip
Fix QA issues: add missing die statements, escape variables
(Portage version: 2.2.0_alpha136/cvs/Linux x86_64)
Diffstat (limited to 'x11-misc/macopix')
-rw-r--r--x11-misc/macopix/ChangeLog5
-rw-r--r--x11-misc/macopix/macopix-1.7.4.ebuild21
2 files changed, 15 insertions, 11 deletions
diff --git a/x11-misc/macopix/ChangeLog b/x11-misc/macopix/ChangeLog
index c98f6f73df9d..992f2d1b995b 100644
--- a/x11-misc/macopix/ChangeLog
+++ b/x11-misc/macopix/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for x11-misc/macopix
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/macopix/ChangeLog,v 1.22 2012/05/05 04:53:48 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/macopix/ChangeLog,v 1.23 2012/10/12 12:53:00 pinkbyte Exp $
+
+ 12 Oct 2012; Sergey Popov <pinkbyte@gentoo.org> macopix-1.7.4.ebuild:
+ Fix QA issues: add missing die statements, escape variables
05 May 2012; Jeff Horelick <jdhore@gentoo.org> macopix-1.7.4.ebuild:
dev-util/pkgconfig -> virtual/pkgconfig
diff --git a/x11-misc/macopix/macopix-1.7.4.ebuild b/x11-misc/macopix/macopix-1.7.4.ebuild
index 348736b4c438..df8863388fcd 100644
--- a/x11-misc/macopix/macopix-1.7.4.ebuild
+++ b/x11-misc/macopix/macopix-1.7.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/macopix/macopix-1.7.4.ebuild,v 1.6 2012/05/05 04:53:48 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/macopix/macopix-1.7.4.ebuild,v 1.7 2012/10/12 12:53:00 pinkbyte Exp $
EAPI=2
DESCRIPTION="MaCoPiX (Mascot Constructive Pilot for X) is a desktop mascot application on UNIX / X Window system."
@@ -46,27 +46,28 @@ src_configure() {
econf \
--with-gtk2 \
$(use_enable nls) \
- $(use_with gnutls)
+ $(use_with gnutls) \
+ || die "econf failed"
}
src_install() {
emake DESTDIR="${D}" install || die
- dodoc AUTHORS ChangeLog* NEWS *README*
+ dodoc AUTHORS ChangeLog* NEWS *README* || die
# install mascots
for d in ${MY_MASCOTS} ; do
einfo "Installing ${d}..."
- cd "${WORKDIR}/${d}"
- insinto /usr/share/${PN}
+ cd "${WORKDIR}/${d}" || die
+ insinto /usr/share/"${PN}"
for i in *.mcpx *.menu ; do
- doins $i || die
+ doins "$i" || die
done
- insinto /usr/share/${PN}/pixmap
+ insinto /usr/share/"${PN}"/pixmap
for i in *.png ; do
- doins $i || die
+ doins "$i" || die
done
- docinto ${d}
- dodoc README.jp
+ docinto "${d}"
+ dodoc README.jp || die
done
}