diff options
Diffstat (limited to 'app-misc/remind')
-rw-r--r-- | app-misc/remind/Manifest | 2 | ||||
-rw-r--r-- | app-misc/remind/remind-03.01.16.ebuild | 45 |
2 files changed, 47 insertions, 0 deletions
diff --git a/app-misc/remind/Manifest b/app-misc/remind/Manifest index 831bd0e2e0fc..edf2d9ed7be9 100644 --- a/app-misc/remind/Manifest +++ b/app-misc/remind/Manifest @@ -1,3 +1,5 @@ DIST remind-03.01.15.tar.gz 363101 BLAKE2B a5e27b83c20428991982c3cae22b32be6cc054bfd51a868ee3515f5ec4a37aa24f8ec476f566860ca0fbb6f29e7c9f3e6ed023714e52091ebca103162936877f SHA512 335f3ca88237f1ae53768b9ecdeb03f0bb1e706a8afd3ba36121ec76048a08fbc0d5ec72b05e552394b4cf2131be335c49533e1212b7e713ef16002a0621fc84 +DIST remind-03.01.16.tar.gz 354521 BLAKE2B b4157922842af67408423e1b36ddae8f049e9c803cec83a7a11188dff5ccf7934ce5afc776bdc02acd6b18a8ad172180841a53576220791fb64230a0e1d54884 SHA512 61d72b01315d59a0e6f96006d5cb063752efad68119e2d1c4fcf6e6f3b2c122a7df47081c305f777fb2c6574e278e401446192897e48b4f93607db29db046550 EBUILD remind-03.01.15.ebuild 984 BLAKE2B d55ab74017d25ab206d36400fa1c98c19ed92f24e7735475a0caa7baf74935adceab7606436aed81f7bb6711e7422a15f4dc72a4cff8caed8ba7aa44336637d5 SHA512 ccb506515eb89d8e29208e2a24f983d95f091f379c84c42a965f66422abcc09652be5585090477af8cd8ffc917e91d0fed976637b3bb17e1ba8ded2a045844e1 +EBUILD remind-03.01.16.ebuild 964 BLAKE2B 11a44fd1c0b66530eb9f31f838115b0ccf7a5f22529c472e6bb7622edb60ae67a068499991ccee7f33d62e10032f2d609fc67a1462dd10bef011dfd0cd9f9831 SHA512 41463f646e9b1ccd219335ca336803af7e9bcf7ea8ec58af5dded03be22cd902187f64fab0613ff66e7a0528438c68c709efb8829c9a5db93ddbb3c3cc3ada91 MISC metadata.xml 282 BLAKE2B f175ac89f79f8ebbe3bc806c0c4a8169e2a4b88708d85928db9a23dacecd92a2acb1c5d1f6a49a2f8375288aa4b2db910af8c325557540ba665c37a17e773721 SHA512 06c94ffb49c985c4344b170b902427ca9ce0c23b6d68330af227ab1771794f8e8b6d0ef75b5f69293c8ef0d3264c8799e1389ccdf8dfbe7c665c6477c07479e4 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/ +} |