diff options
author | Jeroen Roovers <jer@gentoo.org> | 2020-02-01 13:12:19 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2020-02-01 13:19:00 +0100 |
commit | 7b199c721835de9a546020f1041a6e53c64dc30d (patch) | |
tree | dc8fb6502eaa75d60b7eb82f7cb52ff6b4131cb7 /app-misc/remind/remind-03.03.00.ebuild | |
parent | dev-ruby/diva: add ruby27; update HOMEPAGE (diff) | |
download | gentoo-7b199c721835de9a546020f1041a6e53c64dc30d.tar.gz gentoo-7b199c721835de9a546020f1041a6e53c64dc30d.tar.bz2 gentoo-7b199c721835de9a546020f1041a6e53c64dc30d.zip |
app-misc/remind: Version 03.03.00
Package-Manager: Portage-2.3.86, Repoman-2.3.20
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'app-misc/remind/remind-03.03.00.ebuild')
-rw-r--r-- | app-misc/remind/remind-03.03.00.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/app-misc/remind/remind-03.03.00.ebuild b/app-misc/remind/remind-03.03.00.ebuild new file mode 100644 index 000000000000..775c66a900a6 --- /dev/null +++ b/app-misc/remind/remind-03.03.00.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Ridiculously functional reminder program" +HOMEPAGE="https://dianne.skoll.ca/projects/remind/" +SRC_URI="https://dianne.skoll.ca/projects/remind/download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="tk" + +RDEPEND=" + tk? ( dev-lang/tk dev-tcltk/tcllib ) +" +DOCS="docs/WHATSNEW examples/defs.rem www/README.*" + +src_prepare() { + default + sed -i 's:$(MAKE) install:&-nostripped:' "${S}"/Makefile || die +} + +src_test() { + if [[ ${EUID} -eq 0 ]] ; then + ewarn "Testing fails if run as root. Skipping tests" + else + emake test + fi +} + +src_install() { + default + dobin www/rem2html + + if ! use tk ; then + rm \ + "${D}"/usr/bin/cm2rem* \ + "${D}"/usr/bin/tkremind \ + "${D}"/usr/share/man/man1/cm2rem* \ + "${D}"/usr/share/man/man1/tkremind* \ + || die + fi + + rm "${S}"/contrib/rem2ics-*/{Makefile,rem2ics.spec} || die + insinto /usr/share/${PN} + doins -r contrib/ +} |