summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/chess/chess-2.0_beta5.ebuild')
-rw-r--r--app-emacs/chess/chess-2.0_beta5.ebuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/app-emacs/chess/chess-2.0_beta5.ebuild b/app-emacs/chess/chess-2.0_beta5.ebuild
index e207e90cf1ee..fb9ed5a02bf2 100644
--- a/app-emacs/chess/chess-2.0_beta5.ebuild
+++ b/app-emacs/chess/chess-2.0_beta5.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/chess/chess-2.0_beta5.ebuild,v 1.1 2005/06/30 16:12:57 mkennedy Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/chess/chess-2.0_beta5.ebuild,v 1.2 2007/02/09 00:26:28 opfer Exp $
inherit elisp eutils
@@ -24,8 +24,9 @@ SITEFILE=50chess-gentoo.el
src_unpack() {
unpack ${A}
- epatch ${FILESDIR}/${PV}-byte-compiling-files-gentoo.patch || die
- cd ${S} && rm -f *.elc
+ epatch "${FILESDIR}/${PV}-byte-compiling-files-gentoo.patch" || die
+ cd "${S}" && rm -f *.elc
+ rm -f "${S}/scid-browser.el"
}
src_compile() {
@@ -35,7 +36,7 @@ src_compile() {
src_install() {
elisp-install ${PN} *.el *.elc
elisp-site-file-install ${FILESDIR}/${SITEFILE}
- cp -r ${S}/../pieces ${S}/../sounds ${D}/${SITELISP}/${PN}
+ cp -r "${S}/../pieces" "${S}/../sounds" "${D}/${SITELISP}/${PN}"
doinfo chess.info
dohtml *.html
dodoc ChangeLog EPD.txt PGN.txt PLAN README TODO