From 51536d2fe4697ba9114d611178bb9e20d3d5b729 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 23 Dec 2017 20:48:53 +0000 Subject: gentoo resync : 23.12.2017 --- app-backup/luckybackup/luckybackup-0.4.9.ebuild | 56 +++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 app-backup/luckybackup/luckybackup-0.4.9.ebuild (limited to 'app-backup/luckybackup/luckybackup-0.4.9.ebuild') diff --git a/app-backup/luckybackup/luckybackup-0.4.9.ebuild b/app-backup/luckybackup/luckybackup-0.4.9.ebuild new file mode 100644 index 000000000000..4ae8962c48c1 --- /dev/null +++ b/app-backup/luckybackup/luckybackup-0.4.9.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit qmake-utils + +DESCRIPTION="Powerful and flexible backup (and syncing) tool, using RSync and Qt" +HOMEPAGE="http://luckybackup.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 +" +RDEPEND="${DEPEND} + net-misc/rsync" + +DOCS=( readme/{AUTHORS,README,TODO,TRANSLATIONS,changelog} ) + +src_prepare() { + sed -i \ + -e "s:/usr/share/doc/${PN}:/usr/share/doc/${PF}:g" \ + -e "s:/usr/share/doc/packages/${PN}:/usr/share/doc/${PF}:g" \ + luckybackup.pro src/global.cpp || die "sed failed" + + # The su-to-root command is an ubuntu-specific script so it will + # not work with Gentoo. No reason to have it anyway. + sed -i -e "/^Exec/s:=.*:=/usr/bin/${PN}:" menu/${PN}-gnome-su.desktop \ + || die "failed to remove su-to-root" + + # causes empty directory to be installed + sed -i -e '/^INSTALLS/s/debianmenu //' luckybackup.pro \ + || die "sed installs failed" + + # remove text version - cannot remote HTML version + # as it's used within the application + rm license/gpl.txt || die "rm failed" + + default +} + +src_configure() { + eqmake5 ${PN}.pro +} + +src_install() { + emake INSTALL_ROOT="${D}" install + einstalldocs +} -- cgit v1.2.3