summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2012-12-23 12:16:58 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2012-12-23 12:16:58 +0000
commitd15e8b6be9f8d8a4f4984d1e093ee04ced742577 (patch)
treea4c0631aa643246ab26e2ae03f919f969440faec /app-backup/luckybackup
parentadd ~arm (diff)
downloadgentoo-2-d15e8b6be9f8d8a4f4984d1e093ee04ced742577.tar.gz
gentoo-2-d15e8b6be9f8d8a4f4984d1e093ee04ced742577.tar.bz2
gentoo-2-d15e8b6be9f8d8a4f4984d1e093ee04ced742577.zip
Revbump to remove su-to-root ubuntu command from the gnome desktop file
(Portage version: 2.1.11.38/cvs/Linux x86_64, signed Manifest commit with key B4AFF2C2)
Diffstat (limited to 'app-backup/luckybackup')
-rw-r--r--app-backup/luckybackup/ChangeLog8
-rw-r--r--app-backup/luckybackup/luckybackup-0.4.7-r1.ebuild42
2 files changed, 49 insertions, 1 deletions
diff --git a/app-backup/luckybackup/ChangeLog b/app-backup/luckybackup/ChangeLog
index 0ceebb89fd8c..8677888db1c7 100644
--- a/app-backup/luckybackup/ChangeLog
+++ b/app-backup/luckybackup/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-backup/luckybackup
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-backup/luckybackup/ChangeLog,v 1.21 2012/07/24 21:44:18 pesa Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-backup/luckybackup/ChangeLog,v 1.22 2012/12/23 12:16:58 hwoarang Exp $
+
+*luckybackup-0.4.7-r1 (23 Dec 2012)
+
+ 23 Dec 2012; Markos Chandras <hwoarang@gentoo.org>
+ +luckybackup-0.4.7-r1.ebuild:
+ Revbump to remove su-to-root ubuntu command from the gnome desktop file
24 Jul 2012; Davide Pesavento <pesa@gentoo.org> luckybackup-0.4.7.ebuild:
Remove usage of DOCSDIR.
diff --git a/app-backup/luckybackup/luckybackup-0.4.7-r1.ebuild b/app-backup/luckybackup/luckybackup-0.4.7-r1.ebuild
new file mode 100644
index 000000000000..c8f9238da61e
--- /dev/null
+++ b/app-backup/luckybackup/luckybackup-0.4.7-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-backup/luckybackup/luckybackup-0.4.7-r1.ebuild,v 1.1 2012/12/23 12:16:58 hwoarang Exp $
+
+EAPI=4
+inherit qt4-r2
+
+DESCRIPTION="Powerful and flexible backup (and syncing) tool, using RSync and Qt4"
+HOMEPAGE="http://luckybackup.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+
+DEPEND="x11-libs/qt-core:4
+ x11-libs/qt-gui:4"
+RDEPEND="${DEPEND}
+ net-misc/rsync"
+
+DOCS="readme/*"
+
+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.h || 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"
+}