diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-09-25 10:55:46 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-09-25 10:55:46 +0000 |
commit | c8b535fc9593dcda8cd7ce8e9d170aa73c2bb0b5 (patch) | |
tree | ca25a7ca383c3669e009fc6172ef9ac57d9bdc8e /x11-themes/mandrake-artwork | |
parent | update HOMEPAGE (diff) | |
download | gentoo-2-c8b535fc9593dcda8cd7ce8e9d170aa73c2bb0b5.tar.gz gentoo-2-c8b535fc9593dcda8cd7ce8e9d170aa73c2bb0b5.tar.bz2 gentoo-2-c8b535fc9593dcda8cd7ce8e9d170aa73c2bb0b5.zip |
clean up ebuild
(Portage version: 2.0.52-r1 http://www.bash.org/?136501 )
Diffstat (limited to 'x11-themes/mandrake-artwork')
-rw-r--r-- | x11-themes/mandrake-artwork/mandrake-artwork-1.0.2.ebuild | 43 |
1 files changed, 21 insertions, 22 deletions
diff --git a/x11-themes/mandrake-artwork/mandrake-artwork-1.0.2.ebuild b/x11-themes/mandrake-artwork/mandrake-artwork-1.0.2.ebuild index 8008cd547343..1f1e7854b582 100644 --- a/x11-themes/mandrake-artwork/mandrake-artwork-1.0.2.ebuild +++ b/x11-themes/mandrake-artwork/mandrake-artwork-1.0.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-themes/mandrake-artwork/mandrake-artwork-1.0.2.ebuild,v 1.14 2005/09/25 10:48:15 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-themes/mandrake-artwork/mandrake-artwork-1.0.2.ebuild,v 1.15 2005/09/25 10:55:46 vapier Exp $ inherit eutils kde-functions @@ -12,7 +12,7 @@ SRC_URI="mirror://gentoo/galaxy-${PV}-${MDK_EXTRAVERSION}.src.rpm" LICENSE="GPL-2" SLOT="0" -KEYWORDS="alpha ~amd64 ~ia64 ppc sparc ~x86" +KEYWORDS="alpha ~amd64 ~ia64 ppc sparc x86" IUSE="kde" RDEPEND=">=x11-libs/gtk+-2.0 @@ -22,38 +22,37 @@ RDEPEND=">=x11-libs/gtk+-2.0 DEPEND="${RDEPEND} app-arch/rpm2targz" -S="${WORKDIR}"/galaxy-${PV} +S=${WORKDIR}/galaxy-${PV} src_unpack() { - rpm2targz ${DISTDIR}/${A} - tar xz --no-same-owner -f galaxy-${PV}-${MDK_EXTRAVERSION}.src.tar.gz - tar xj --no-same-owner -f galaxy-${PV}.tar.bz2 + rpm2targz "${DISTDIR}/${A}" || die + tar xz --no-same-owner -f galaxy-${PV}-${MDK_EXTRAVERSION}.src.tar.gz || die + tar xj --no-same-owner -f galaxy-${PV}.tar.bz2 || die } src_compile() { - if use kde; then + if use kde ; then set-qtdir 3 set-kdedir 3 - mv thememdk/mandrake_client/Makefile.in thememdk/mandrake_client/Makefile.in.orig - cat thememdk/mandrake_client/Makefile.in.orig | sed s:\$\{libdir\}\/kwin.la:${KDEDIR}/lib/kwin.la:g > thememdk/mandrake_client/Makefile.in - rm thememdk/mandrake_client/Makefile.in.orig + sed -i s:\$\{libdir\}\/kwin.la:${KDEDIR}/lib/kwin.la:g thememdk/mandrake_client/Makefile.in econf --with-qt-dir=${QTDIR} || die "econf failed" else - sed -si s/KDE_CHECK_FINAL// configure.in - sed -si s/AC_PATH_KDE// configure.in - autoconf - sed -si s/thememdk// Makefile.am - sed -si s/thememdk// Makefile.in - automake - sed -si s/thememdk// Makefile.am - sed -si s/thememdk// Makefile.in - automake + sed -i \ + -e s/KDE_CHECK_FINAL// \ + -e s/AC_PATH_KDE// \ + configure.in || die + autoconf || die + sed -i \ + -e s/thememdk// \ + -e s/thememdk// \ + Makefile.am || die + automake || die + econf || die fi - econf || die emake || die } -src_install () { +src_install() { einstall || die - dodoc AUTHORS COPYING README ChangeLog + dodoc AUTHORS README ChangeLog } |