Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 2433 Details for
Bug 5259
conectiva-crystal-3.1_beta37-r1.ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
conectiva-crystal-3.1_beta37-r2.ebuild (replaces the conectiva-crystal-3.1_beta37-r1.ebuild attachment)
conectiva-crystal-3.1_beta37-r2.ebuild (text/plain), 2.55 KB, created by
Daniel Mettler
on 2002-07-21 09:47:46 UTC
(
hide
)
Description:
conectiva-crystal-3.1_beta37-r2.ebuild (replaces the conectiva-crystal-3.1_beta37-r1.ebuild attachment)
Filename:
MIME Type:
Creator:
Daniel Mettler
Created:
2002-07-21 09:47:46 UTC
Size:
2.55 KB
patch
obsolete
># Copyright 1999-2002 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># /space/gentoo/cvsroot/gentoo-x86/x11-misc/conectiva-crystal/conectiva-crystal-3.1_beta.ebuild,v 1.1 2002/05/18 10:06:55 verwilst Exp > >S="${WORKDIR}/Crystal" >DESCRIPTION="Conectiva Crystal - Icon theme" >SRC_URI="http://www.ibiblio.org/gentoo/distfiles/crystal-3.1_beta3.7.tar.gz" >HOMEPAGE="http://www.conectiva.com.br" >KEYWORDS="x86" >SLOT="0" >LICENSE="as-is" > >DEPEND="kde-base/kde" >RDEPEND=${DEPEND} > >src_compile() { > > return 1; > >} > >src_install(){ > > successful="false"; # Success is defined as at least one installation of the icon theme. > > cd ${S} > > if [ "${KDE2DIR}" ] || [ "${KDE3DIR}" ]; then # At least one of the deprecated $KDExDIR variables is non-zero. Let's use it/them. > if [ "${KDE2DIR}" ]; then # $KDE2DIR is non-zero. Use it. > echo "Using KDE2DIR='${KDE2DIR}'." > if [ -d "${KDE2DIR}" ] ; then # Directory $KDE2DIR exists. > echo "Installing to ${KDE2DIR}. Be patient."; > mkdir -p ${D}/${KDE2DIR}/share/icons/; > cp -rf ${S} ${D}/${KDE2DIR}/share/icons/Crystal; > successful="true"; > else > echo "Directory ${KDE2DIR} not found."; > fi > fi > if [ "${KDE3DIR}" ]; then # $KDE3DIR is non-zero. Use it. > echo "Using KDE3DIR='${KDE3DIR}'." > if [ -d "${KDE3DIR}" ] ; then # Directory $KDE3DIR exists. > echo "Installing to ${KDE3DIR}. Be patient."; > mkdir -p ${D}/${KDE3DIR}/share/icons/; > cp -rf ${S} ${D}/${KDE3DIR}/share/icons/Crystal; > successful="true"; > else > echo "Directory ${KDE3DIR} not found."; > fi > fi > elif [ "${KDEDIRS}" ]; then # The deprecated $KDExDIR variables are zero but $KDEDIRS is non-zero. Let's use the latter. > echo "Using KDEDIRS='${KDEDIRS}'."; > IFS=":"; # Word separator set to double point (Default: IFS=" \t\n") > for kdebasedir in ${KDEDIRS}; do > if [ -d "${kdebasedir}" ] ; then # Directory $kdebasedir exists. > echo "Installing to ${kdebasedir}. Be patient."; > mkdir -p ${D}/${kdebasedir}/share/icons/; > cp -rf ${S} ${D}/${kdebasedir}/share/icons/Crystal; > successful="true"; > else > echo "Directory ${kdebasedir} not found."; > fi > done > else # Bad luck. $KDE2DIR and $KDE3DIR and $KDEDIRS are zero. Probably due to a bogus KDE setup. > die "No KDE2DIR or KDE3DIR or KDEDIRS variable found. Please check your KDE setup and remerge. Aborting."; > fi > > if [ "${successful}" == "false" ]; then > die "No valid directories found. Please check your KDE2DIR/KDE3DIR/KDEDIRS variables and remerge. Aborting."; > fi >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 5259
:
2399
| 2433