summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Meier <maekke@gentoo.org>2009-10-31 15:43:38 +0000
committerMarkus Meier <maekke@gentoo.org>2009-10-31 15:43:38 +0000
commit998e61adc4f4f47eabd13a32b1f395c9402a9a9a (patch)
treec6f918f8704ed02c1f1ac8f73b99d33a440ffd0a /app-pda
parentCleanup. (diff)
downloadgentoo-2-998e61adc4f4f47eabd13a32b1f395c9402a9a9a.tar.gz
gentoo-2-998e61adc4f4f47eabd13a32b1f395c9402a9a9a.tar.bz2
gentoo-2-998e61adc4f4f47eabd13a32b1f395c9402a9a9a.zip
QA: quote variables, fix ${D} variable and fix gpixpod binary
(Portage version: 2.2_rc46/cvs/Linux i686)
Diffstat (limited to 'app-pda')
-rw-r--r--app-pda/gpixpod/ChangeLog7
-rw-r--r--app-pda/gpixpod/gpixpod-0.6.2.ebuild17
2 files changed, 14 insertions, 10 deletions
diff --git a/app-pda/gpixpod/ChangeLog b/app-pda/gpixpod/ChangeLog
index 73a717de0c1b..df446f5851c1 100644
--- a/app-pda/gpixpod/ChangeLog
+++ b/app-pda/gpixpod/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-pda/gpixpod
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-pda/gpixpod/ChangeLog,v 1.6 2008/09/06 19:59:50 pvdabeel Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-pda/gpixpod/ChangeLog,v 1.7 2009/10/31 15:43:38 maekke Exp $
+
+ 31 Oct 2009; Markus Meier <maekke@gentoo.org> gpixpod-0.6.2.ebuild:
+ QA: quote variables, fix ${D} variable and fix gpixpod binary
06 Sep 2008; Pieter Van den Abeele <pvdabeel@gentoo.org> gpixpod-0.6.2.ebuild:
Keyworded ~ppc, closes #217040
diff --git a/app-pda/gpixpod/gpixpod-0.6.2.ebuild b/app-pda/gpixpod/gpixpod-0.6.2.ebuild
index ba3bb6795640..d91fb3293b15 100644
--- a/app-pda/gpixpod/gpixpod-0.6.2.ebuild
+++ b/app-pda/gpixpod/gpixpod-0.6.2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-pda/gpixpod/gpixpod-0.6.2.ebuild,v 1.5 2008/09/06 19:59:50 pvdabeel Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-pda/gpixpod/gpixpod-0.6.2.ebuild,v 1.6 2009/10/31 15:43:38 maekke Exp $
inherit distutils
@@ -21,21 +21,22 @@ DEPEND="${RDEPEND}
src_unpack() {
distutils_python_version
unpack ${A}
- cd ${S}
+ cd "${S}"
# Fixing gpixpod.py for searching gpixpod.glade in the same directory
- sed -i -e "s:gpixpod\.glade:/usr/share/gpixpod/gpixpod\.glade:g" /gpixpod.py
+ sed -i -e "s:gpixpod\.glade:/usr/share/gpixpod/gpixpod\.glade:g" gpixpod.py || die
# Fixing launching script and Makefile
- sed -i -e s:python2.4:python${PYVER}:g Makefile gpixpod
+ sed -i -e "s:python2.4:python${PYVER}:g" Makefile gpixpod || die
+ sed -i -e "s:/usr/lib/gpixpod:$(python_get_sitedir):g" gpixpod || die
}
src_install() {
distutils_src_install
- mv ${D}/usr/lib/gpixpod/* ${D}/usr/share/gpixpod
- rmdir {D}/usr/lib/gpixpod
+ mv "${D}"/usr/lib/gpixpod/* "${D}"/usr/share/gpixpod
+ rmdir "${D}"/usr/lib/gpixpod
- rm -rf ${D}/usr/share/doc/gpixpod
+ rm -rf "${D}"/usr/share/doc/gpixpod
dodoc KNOWNBUGS
}