diff options
author | Sven Wegener <swegener@gentoo.org> | 2005-07-15 00:15:19 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2005-07-15 00:15:19 +0000 |
commit | 92d0837086afc05fc75c034d3a3cacc01330e619 (patch) | |
tree | e3253112328fc8e0cf92991207e3f4b9e4fe1648 /x11-themes/mandrake-artwork | |
parent | QA: Do not loop over IUSE for configuring. IUSE includes flags from eclasses ... (diff) | |
download | gentoo-2-92d0837086afc05fc75c034d3a3cacc01330e619.tar.gz gentoo-2-92d0837086afc05fc75c034d3a3cacc01330e619.tar.bz2 gentoo-2-92d0837086afc05fc75c034d3a3cacc01330e619.zip |
QA: Define S instead of cd'ing at start of every src_* function
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'x11-themes/mandrake-artwork')
7 files changed, 60 insertions, 85 deletions
diff --git a/x11-themes/mandrake-artwork/mandrake-artwork-0.9.1-r1.ebuild b/x11-themes/mandrake-artwork/mandrake-artwork-0.9.1-r1.ebuild index 1f0c97c49c65..d00b4f12d039 100644 --- a/x11-themes/mandrake-artwork/mandrake-artwork-0.9.1-r1.ebuild +++ b/x11-themes/mandrake-artwork/mandrake-artwork-0.9.1-r1.ebuild @@ -1,8 +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-0.9.1-r1.ebuild,v 1.9 2005/05/05 23:00:14 swegener Exp $ - -inherit eutils +# $Header: /var/cvsroot/gentoo-x86/x11-themes/mandrake-artwork/mandrake-artwork-0.9.1-r1.ebuild,v 1.10 2005/07/15 00:15:19 swegener Exp $ MDK_EXTRAVERSION="1mdk" @@ -21,28 +19,26 @@ DEPEND="app-arch/rpm2targz =x11-libs/gtk+-1.2* >=kde-base/kdebase-3.1" +S="${WORKDIR}"/galaxy-${PV} + src_unpack() { - cd ${WORKDIR} - 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} + tar xz --no-same-owner -f galaxy-${PV}-${MDK_EXTRAVERSION}.src.tar.gz + tar xj --no-same-owner -f galaxy-${PV}.tar.bz2 } src_compile() { - cd ${WORKDIR}/galaxy-${PV} - make distclean - KDE_PLACE_TO_INSTALL=$(echo $KDEDIR | cut -d/ -f4) - mv thememdk/mandrake_client/Makefile.in thememdk/mandrake_client/Makefile.in.orig - cat thememdk/mandrake_client/Makefile.in.orig | sed s:\$\{libdir\}\/kwin.la:/usr/kde/$KDE_PLACE_TO_INSTALL/lib/kwin.la:g > thememdk/mandrake_client/Makefile.in - rm thememdk/mandrake_client/Makefile.in.orig - econf --with-qt-dir=/usr/qt/3 || die "econf failed" - emake || die + make distclean + KDE_PLACE_TO_INSTALL=$(echo $KDEDIR | cut -d/ -f4) + mv thememdk/mandrake_client/Makefile.in thememdk/mandrake_client/Makefile.in.orig + cat thememdk/mandrake_client/Makefile.in.orig | sed s:\$\{libdir\}\/kwin.la:/usr/kde/$KDE_PLACE_TO_INSTALL/lib/kwin.la:g > thememdk/mandrake_client/Makefile.in + rm thememdk/mandrake_client/Makefile.in.orig + econf --with-qt-dir=/usr/qt/3 || die "econf failed" + emake || die } src_install () { - cd ${WORKDIR}/galaxy-${PV} - einstall || die + einstall || die - cd ${WORKDIR}/galaxy-${PV} - dodoc AUTHORS COPYING README ChangeLog + dodoc AUTHORS COPYING README ChangeLog } diff --git a/x11-themes/mandrake-artwork/mandrake-artwork-0.9.1.ebuild b/x11-themes/mandrake-artwork/mandrake-artwork-0.9.1.ebuild index f3d4f6ea8f53..bb0faf421b78 100644 --- a/x11-themes/mandrake-artwork/mandrake-artwork-0.9.1.ebuild +++ b/x11-themes/mandrake-artwork/mandrake-artwork-0.9.1.ebuild @@ -1,8 +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-0.9.1.ebuild,v 1.9 2005/05/05 23:00:14 swegener Exp $ - -inherit eutils +# $Header: /var/cvsroot/gentoo-x86/x11-themes/mandrake-artwork/mandrake-artwork-0.9.1.ebuild,v 1.10 2005/07/15 00:15:19 swegener Exp $ MDK_EXTRAVERSION="1mdk" @@ -21,28 +19,26 @@ DEPEND="app-arch/rpm2targz =x11-libs/gtk+-1.2* >=kde-base/kdebase-3.1" +S="${WORKDIR}"/galaxy-${PV} + src_unpack() { - cd ${WORKDIR} - 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} + tar xz --no-same-owner -f galaxy-${PV}-${MDK_EXTRAVERSION}.src.tar.gz + tar xj --no-same-owner -f galaxy-${PV}.tar.bz2 } src_compile() { - cd ${WORKDIR}/galaxy-${PV} - make distclean - KDE_PLACE_TO_INSTALL=$(echo $KDEDIR | cut -d/ -f4) - mv thememdk/mandrake_client/Makefile.in thememdk/mandrake_client/Makefile.in.orig - cat thememdk/mandrake_client/Makefile.in.orig | sed s:\$\{libdir\}\/kwin.la:/usr/kde/$KDE_PLACE_TO_INSTALL/lib/kwin.la:g > thememdk/mandrake_client/Makefile.in - rm thememdk/mandrake_client/Makefile.in.orig - econf --with-qt-dir=/usr/qt/3 || die "econf failed" - emake || die + make distclean + KDE_PLACE_TO_INSTALL=$(echo $KDEDIR | cut -d/ -f4) + mv thememdk/mandrake_client/Makefile.in thememdk/mandrake_client/Makefile.in.orig + cat thememdk/mandrake_client/Makefile.in.orig | sed s:\$\{libdir\}\/kwin.la:/usr/kde/$KDE_PLACE_TO_INSTALL/lib/kwin.la:g > thememdk/mandrake_client/Makefile.in + rm thememdk/mandrake_client/Makefile.in.orig + econf --with-qt-dir=/usr/qt/3 || die "econf failed" + emake || die } src_install () { - cd ${WORKDIR}/galaxy-${PV} - einstall || die + einstall || die - cd ${WORKDIR}/galaxy-${PV} - dodoc AUTHORS COPYING README ChangeLog + dodoc AUTHORS COPYING README ChangeLog } diff --git a/x11-themes/mandrake-artwork/mandrake-artwork-0.9.3.ebuild b/x11-themes/mandrake-artwork/mandrake-artwork-0.9.3.ebuild index c95123dd8a1d..94ac61a105e0 100644 --- a/x11-themes/mandrake-artwork/mandrake-artwork-0.9.3.ebuild +++ b/x11-themes/mandrake-artwork/mandrake-artwork-0.9.3.ebuild @@ -1,8 +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-0.9.3.ebuild,v 1.9 2005/05/05 23:00:14 swegener Exp $ - -inherit eutils +# $Header: /var/cvsroot/gentoo-x86/x11-themes/mandrake-artwork/mandrake-artwork-0.9.3.ebuild,v 1.10 2005/07/15 00:15:19 swegener Exp $ MDK_EXTRAVERSION="1mdk" @@ -15,6 +13,8 @@ SLOT="0" KEYWORDS="x86 ppc ~alpha" IUSE="kde" +S="${WORKDIR}"/galaxy-${PV} + # Needed to build... DEPEND="app-arch/rpm2targz >=x11-libs/gtk+-2.0 @@ -29,9 +29,6 @@ src_unpack() { } src_compile() { - cd ${WORKDIR}/galaxy-${PV} - #make distclean - if use kde; then KDE_PLACE_TO_INSTALL=$(echo $KDEDIR | cut -d/ -f4) mv thememdk/mandrake_client/Makefile.in thememdk/mandrake_client/Makefile.in.orig @@ -51,7 +48,6 @@ src_compile() { } src_install () { - cd ${WORKDIR}/galaxy-${PV} einstall || die dodoc AUTHORS COPYING README ChangeLog } diff --git a/x11-themes/mandrake-artwork/mandrake-artwork-0.9.6.ebuild b/x11-themes/mandrake-artwork/mandrake-artwork-0.9.6.ebuild index 0d280702f0e7..08b0a0abf929 100644 --- a/x11-themes/mandrake-artwork/mandrake-artwork-0.9.6.ebuild +++ b/x11-themes/mandrake-artwork/mandrake-artwork-0.9.6.ebuild @@ -1,8 +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-0.9.6.ebuild,v 1.8 2005/05/05 23:00:14 swegener Exp $ - -inherit eutils +# $Header: /var/cvsroot/gentoo-x86/x11-themes/mandrake-artwork/mandrake-artwork-0.9.6.ebuild,v 1.9 2005/07/15 00:15:19 swegener Exp $ MDK_EXTRAVERSION="5mdk" @@ -22,6 +20,8 @@ DEPEND="app-arch/rpm2targz =x11-libs/gtk+-1.2* kde? ( >=kde-base/kdebase-3.1 )" +S="${WORKDIR}"/galaxy-${PV} + src_unpack() { rpm2targz ${DISTDIR}/${A} tar xz --no-same-owner -f galaxy-${PV}-${MDK_EXTRAVERSION}.src.tar.gz @@ -29,9 +29,6 @@ src_unpack() { } src_compile() { - cd ${WORKDIR}/galaxy-${PV} - #make distclean - if use kde; then KDE_PLACE_TO_INSTALL=$(echo $KDEDIR | cut -d/ -f4) mv thememdk/mandrake_client/Makefile.in thememdk/mandrake_client/Makefile.in.orig @@ -51,7 +48,6 @@ src_compile() { } src_install () { - cd ${WORKDIR}/galaxy-${PV} einstall || die dodoc AUTHORS COPYING README ChangeLog } diff --git a/x11-themes/mandrake-artwork/mandrake-artwork-0.9.ebuild b/x11-themes/mandrake-artwork/mandrake-artwork-0.9.ebuild index 9384fd013809..77849c38e3a1 100644 --- a/x11-themes/mandrake-artwork/mandrake-artwork-0.9.ebuild +++ b/x11-themes/mandrake-artwork/mandrake-artwork-0.9.ebuild @@ -1,8 +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-0.9.ebuild,v 1.10 2005/05/05 23:00:14 swegener Exp $ - -inherit eutils +# $Header: /var/cvsroot/gentoo-x86/x11-themes/mandrake-artwork/mandrake-artwork-0.9.ebuild,v 1.11 2005/07/15 00:15:19 swegener Exp $ MDK_EXTRAVERSION="2mdk" @@ -21,28 +19,26 @@ DEPEND="app-arch/rpm2targz =x11-libs/gtk+-1.2* >=kde-base/kdebase-3.1" +S="${WORKDIR}"/galaxy-${PV} + src_unpack() { - cd ${WORKDIR} - 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} + tar xz --no-same-owner -f galaxy-${PV}-${MDK_EXTRAVERSION}.src.tar.gz + tar xj --no-same-owner -f galaxy-${PV}.tar.bz2 } src_compile() { - cd ${WORKDIR}/galaxy-${PV} - make distclean - KDE_PLACE_TO_INSTALL=$(echo $KDEDIR | cut -d/ -f4) - mv thememdk/mandrake_client/Makefile.in thememdk/mandrake_client/Makefile.in.orig - cat thememdk/mandrake_client/Makefile.in.orig | sed s:\$\{libdir\}\/kwin.la:/usr/kde/$KDE_PLACE_TO_INSTALL/lib/kwin.la:g > thememdk/mandrake_client/Makefile.in - rm thememdk/mandrake_client/Makefile.in.orig - econf --with-qt-dir=/usr/qt/3 || die "econf failed" - emake || die + make distclean + KDE_PLACE_TO_INSTALL=$(echo $KDEDIR | cut -d/ -f4) + mv thememdk/mandrake_client/Makefile.in thememdk/mandrake_client/Makefile.in.orig + cat thememdk/mandrake_client/Makefile.in.orig | sed s:\$\{libdir\}\/kwin.la:/usr/kde/$KDE_PLACE_TO_INSTALL/lib/kwin.la:g > thememdk/mandrake_client/Makefile.in + rm thememdk/mandrake_client/Makefile.in.orig + econf --with-qt-dir=/usr/qt/3 || die "econf failed" + emake || die } src_install () { - cd ${WORKDIR}/galaxy-${PV} - einstall || die + einstall || die - cd ${WORKDIR}/galaxy-${PV} - dodoc AUTHORS COPYING README ChangeLog + dodoc AUTHORS COPYING README ChangeLog } diff --git a/x11-themes/mandrake-artwork/mandrake-artwork-1.0.0.ebuild b/x11-themes/mandrake-artwork/mandrake-artwork-1.0.0.ebuild index 70c8ec251d75..dfd5b2e3fa93 100644 --- a/x11-themes/mandrake-artwork/mandrake-artwork-1.0.0.ebuild +++ b/x11-themes/mandrake-artwork/mandrake-artwork-1.0.0.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.0.ebuild,v 1.5 2005/05/05 23:00:14 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-themes/mandrake-artwork/mandrake-artwork-1.0.0.ebuild,v 1.6 2005/07/15 00:15:19 swegener Exp $ inherit eutils kde-functions kde @@ -22,18 +22,18 @@ DEPEND="app-arch/rpm2targz =x11-libs/gtk+-1.2* kde? ( >=kde-base/kdebase-3.1 )" +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 -} - -src_compile() { - cd ${WORKDIR}/galaxy-${PV} - #make distclean + cd "${S}" epatch ${FILESDIR}/galaxy-gtk24.patch +} +src_compile() { if use kde; then KDE_PLACE_TO_INSTALL=$(echo $KDEDIR | cut -d/ -f4) mv thememdk/mandrake_client/Makefile.in thememdk/mandrake_client/Makefile.in.orig @@ -56,7 +56,6 @@ src_compile() { } src_install () { - cd ${WORKDIR}/galaxy-${PV} einstall || die dodoc AUTHORS COPYING README ChangeLog } 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 bdc755b1f02b..0620677b8d9d 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.8 2005/03/24 18:05:27 greg_g Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-themes/mandrake-artwork/mandrake-artwork-1.0.2.ebuild,v 1.9 2005/07/15 00:15:19 swegener Exp $ inherit eutils kde-functions @@ -22,6 +22,8 @@ RDEPEND=">=x11-libs/gtk+-2.0 DEPEND="${RDEPEND} app-arch/rpm2targz" +S="${WORKDIR}"/galaxy-${PV} + src_unpack() { rpm2targz ${DISTDIR}/${A} tar xz --no-same-owner -f galaxy-${PV}-${MDK_EXTRAVERSION}.src.tar.gz @@ -29,11 +31,6 @@ src_unpack() { } src_compile() { - cd ${WORKDIR}/galaxy-${PV} - #make distclean - - #epatch ${FILESDIR}/galaxy-gtk24.patch - if use kde; then set-qtdir 3 set-kdedir 3 @@ -57,7 +54,6 @@ src_compile() { } src_install () { - cd ${WORKDIR}/galaxy-${PV} einstall || die dodoc AUTHORS COPYING README ChangeLog } |