1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
9 DESCRIPTION="Advanced file copying tool"
10 HOMEPAGE="http://ultracopier.first-world.info/"
11 SRC_URI="http://files.first-world.info/${PN}/${PV}/ultracopier-src-${PV}.tar.bz2 -> ${P}.tar.bz2"
15 KEYWORDS="~amd64 ~ppc64 ~x86"
17 S="${WORKDIR}/${P}/src/"
19 RDEPEND="x11-libs/qt-core:4
25 sed -i -r 's/DEBUG_ULTRACOPIER [0-9]+/DEBUG_ULTRACOPIER 100/g' var.h || die "Error when set the debug level"
27 sed -i -r 's/DEBUG_ULTRACOPIER [0-9]+/DEBUG_ULTRACOPIER 0/g' var.h || die "Error when set the debug level"
32 rm -f lang/fr* lang/en* lang/*.ts
34 dobin ultracopier || die "Error when copy the application"
35 newicon other/ultracopier-128x128.png ultracopier.png || die "Error when copy the icon"
36 domenu other/ultracopier.desktop || die "Error when copy the shortcut"
37 insinto /usr/share/ultracopier/ || die "Error when switch of directory"
38 doins -r lang/ styles/ || die "Error when copy language and styles"