diff options
author | David Seifert <soap@gentoo.org> | 2017-12-02 15:59:20 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2017-12-02 17:14:32 +0100 |
commit | 26151eff87499cd87c6c4688aef3cdccfaa314e4 (patch) | |
tree | 5957c5a2e07eb84db27496279cd17ae2dbc2a9ba /sys-apps | |
parent | sys-apps/utempter: Port to EAPI 6 (diff) | |
download | gentoo-26151eff87499cd87c6c4688aef3cdccfaa314e4.tar.gz gentoo-26151eff87499cd87c6c4688aef3cdccfaa314e4.tar.bz2 gentoo-26151eff87499cd87c6c4688aef3cdccfaa314e4.zip |
sys-apps/ultracopier: Port to EAPI 6
Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/ultracopier/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/ultracopier/ultracopier-0.2.0.16.ebuild | 25 |
2 files changed, 15 insertions, 12 deletions
diff --git a/sys-apps/ultracopier/Manifest b/sys-apps/ultracopier/Manifest index e185c85fe508..c7ef5c94b1da 100644 --- a/sys-apps/ultracopier/Manifest +++ b/sys-apps/ultracopier/Manifest @@ -1 +1 @@ -DIST ultracopier-src-0.2.0.16.tar.bz2 430736 SHA256 3c965899c491ddaa7381de805a62557d224a70c3379f68bb2a24f4bf07d36f30 SHA512 7ca0698bca73c9fa696b48d5aee09a5159c7a1bb6c8d8194476ed13d189c4b16b42c8aff0013fe1107889c95d9a048cc86953698f90b731b48d8ededac350693 WHIRLPOOL 8c901099bedeca8edd89c60fa05e4fbf164d8c28bb9bdeae9ec5d16d1c257549f8bc343d780bfb79d46060403e1c62ffbf24ad4cc05f2ad02b13911f1b292c47 +DIST ultracopier-src-0.2.0.16.tar.bz2 430736 BLAKE2B 2af470ca2fb0671732e9fe528c12ba4c1957028cc0f7df512668670f011f5b34e6e73e91033b60bdb5a91a4520791e06fd0a606222637929b12a620ee252901a SHA512 7ca0698bca73c9fa696b48d5aee09a5159c7a1bb6c8d8194476ed13d189c4b16b42c8aff0013fe1107889c95d9a048cc86953698f90b731b48d8ededac350693 diff --git a/sys-apps/ultracopier/ultracopier-0.2.0.16.ebuild b/sys-apps/ultracopier/ultracopier-0.2.0.16.ebuild index ba8896b647cd..d29381801355 100644 --- a/sys-apps/ultracopier/ultracopier-0.2.0.16.ebuild +++ b/sys-apps/ultracopier/ultracopier-0.2.0.16.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=2 +EAPI=6 -inherit eutils qt4-r2 +inherit desktop qmake-utils DESCRIPTION="Advanced file copying tool" HOMEPAGE="http://ultracopier.first-world.info/" @@ -18,22 +18,25 @@ RDEPEND="dev-qt/qtgui:4" DEPEND="${RDEPEND}" src_prepare() { - local debugl=0 - use debug && debugl=100 - sed -i -e "s/\(DEBUG_ULTRACOPIER\) 0/\1 ${debugl}/" src/var.h || die + default + sed -i -e "s/\(DEBUG_ULTRACOPIER\) 0/\1 $(usex debug 100 0)/" src/var.h || die +} + +src_configure() { + eqmake4 } src_install() { - dodoc CHANGELOG README || die + einstalldocs cd src || die rm -f lang/en* lang/*.ts || die rm -Rf styles/kde3 || die - dobin ${PN} || die - newicon other/${PN}-128x128.png ${PN}.png || die - domenu other/${PN}.desktop || die + dobin ${PN} + newicon other/${PN}-128x128.png ${PN}.png + domenu other/${PN}.desktop insinto /usr/share/${PN} - doins -r lang styles || die + doins -r lang styles } |