diff options
author | Jeroen Roovers <jer@gentoo.org> | 2019-09-03 08:04:17 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2019-09-03 08:06:18 +0200 |
commit | 82f03e9e8888370904c11beb96e0b78f8e99f15c (patch) | |
tree | 993a37e66e382983517abf23ff87a2287256acd3 /app-misc/remind | |
parent | media-radio/tucnak: Version bump (diff) | |
download | gentoo-82f03e9e8888370904c11beb96e0b78f8e99f15c.tar.gz gentoo-82f03e9e8888370904c11beb96e0b78f8e99f15c.tar.bz2 gentoo-82f03e9e8888370904c11beb96e0b78f8e99f15c.zip |
app-misc/remind: Version 03.01.16
Package-Manager: Portage-2.3.75, Repoman-2.3.17
Closes: https://bugs.gentoo.org/693320
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'app-misc/remind')
-rw-r--r-- | app-misc/remind/Manifest | 1 | ||||
-rw-r--r-- | app-misc/remind/remind-03.01.16.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/app-misc/remind/Manifest b/app-misc/remind/Manifest index 240c554e0dbc..596609f84a5d 100644 --- a/app-misc/remind/Manifest +++ b/app-misc/remind/Manifest @@ -1 +1,2 @@ DIST remind-03.01.15.tar.gz 363101 BLAKE2B a5e27b83c20428991982c3cae22b32be6cc054bfd51a868ee3515f5ec4a37aa24f8ec476f566860ca0fbb6f29e7c9f3e6ed023714e52091ebca103162936877f SHA512 335f3ca88237f1ae53768b9ecdeb03f0bb1e706a8afd3ba36121ec76048a08fbc0d5ec72b05e552394b4cf2131be335c49533e1212b7e713ef16002a0621fc84 +DIST remind-03.01.16.tar.gz 354521 BLAKE2B b4157922842af67408423e1b36ddae8f049e9c803cec83a7a11188dff5ccf7934ce5afc776bdc02acd6b18a8ad172180841a53576220791fb64230a0e1d54884 SHA512 61d72b01315d59a0e6f96006d5cb063752efad68119e2d1c4fcf6e6f3b2c122a7df47081c305f777fb2c6574e278e401446192897e48b4f93607db29db046550 diff --git a/app-misc/remind/remind-03.01.16.ebuild b/app-misc/remind/remind-03.01.16.ebuild new file mode 100644 index 000000000000..cff1e298f1fa --- /dev/null +++ b/app-misc/remind/remind-03.01.16.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2019 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="${HOMEPAGE}download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" +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/tkremind "${D}"/usr/share/man/man1/tkremind* \ + "${D}"/usr/bin/cm2rem* "${D}"/usr/share/man/man1/cm2rem* + fi + + rm "${S}"/contrib/rem2ics-*/{Makefile,rem2ics.spec} || die + insinto /usr/share/${PN} + doins -r contrib/ +} |