summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2017-01-21 23:11:11 +0100
committerPatrice Clement <monsieurp@gentoo.org>2017-01-21 23:11:28 +0100
commit6fdcb2f2e2bd6d9a5d1067241f1e67842ac13704 (patch)
tree3c3c206b560f01f3d604a14442423e0f4d7d6446 /app-misc/calendar
parentdev-python/qscintilla-python: support building against Qt5/PyQt5 (diff)
downloadgentoo-6fdcb2f2e2bd6d9a5d1067241f1e67842ac13704.tar.gz
gentoo-6fdcb2f2e2bd6d9a5d1067241f1e67842ac13704.tar.bz2
gentoo-6fdcb2f2e2bd6d9a5d1067241f1e67842ac13704.zip
app-misc/calendar: use insinto/doins instead of cp and clear error.
Gentoo-Bug: https://bugs.gentoo.org/606668 Package-Manager: portage-2.3.0
Diffstat (limited to 'app-misc/calendar')
-rw-r--r--app-misc/calendar/calendar-0.9.1-r1.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/app-misc/calendar/calendar-0.9.1-r1.ebuild b/app-misc/calendar/calendar-0.9.1-r1.ebuild
index f320572b6a3d..f21f5c23c7a8 100644
--- a/app-misc/calendar/calendar-0.9.1-r1.ebuild
+++ b/app-misc/calendar/calendar-0.9.1-r1.ebuild
@@ -22,8 +22,13 @@ src_compile() {
}
src_install() {
- cp -R "${S}/calendars" "${D}/usr/share/calendar" || die "cp failed"
dobin "${PN}"
doman "${PN}.1"
+
+ insinto "/usr/share"
+ doins -r "${PN}s"
+
+ mv "${D}/usr/share/${PN}s" "${D}/usr/share/${PN}" || die
+
einstalldocs
}