app-misc/remind: Version 03.03.01
authorJeroen Roovers <jer@gentoo.org>
Tue, 24 Mar 2020 15:48:44 +0000 (16:48 +0100)
committerJeroen Roovers <jer@gentoo.org>
Tue, 24 Mar 2020 15:48:57 +0000 (16:48 +0100)
Package-Manager: Portage-2.3.95, Repoman-2.3.21
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
app-misc/remind/Manifest
app-misc/remind/remind-03.03.01.ebuild [new file with mode: 0644]

index 0b78807ed15894d4b18d924a45a64422a2f01fc2..372cdc32be077121c431a203077c3c2fad0ef473 100644 (file)
@@ -1,3 +1,4 @@
 DIST remind-03.01.15.tar.gz 363101 BLAKE2B a5e27b83c20428991982c3cae22b32be6cc054bfd51a868ee3515f5ec4a37aa24f8ec476f566860ca0fbb6f29e7c9f3e6ed023714e52091ebca103162936877f SHA512 335f3ca88237f1ae53768b9ecdeb03f0bb1e706a8afd3ba36121ec76048a08fbc0d5ec72b05e552394b4cf2131be335c49533e1212b7e713ef16002a0621fc84
 DIST remind-03.02.00.tar.gz 365896 BLAKE2B 3ee47e5c0093c56a2ed95d41eff815ebac26523b64dc09b91ee46d66bac6b2b017d73902ffac61dd12c2088dac8d445fb41d832e22692f47e6e125162f0d436e SHA512 978ee2e6a45756e02bc2de0495d95c4b4377d9af76cb1ea5070f8e2438a451d2bf44245b93018bcbf6ea217520b7b4c8766d5eab354f9a0bc4982b25e90bd278
 DIST remind-03.03.00.tar.gz 390762 BLAKE2B efb17d51f9b71c175f8ff79d8d77cca44ddaa79c4837842673530ea130daea864bacd9139c27233a5846708b4162cdb0851ed57ccecce4b59b58d0acc79aca51 SHA512 0ddd751e42e01a841f46eb21a1392d353efa4e4d63c15b7ba6d7874becb16af537df4e41683db5b1bc3749d5e334c972f8b708b92bbe6f0a9e5bb6a80756486c
+DIST remind-03.03.01.tar.gz 395920 BLAKE2B b3b69ef624a70efff5f262b1da0fdd7fba1ea60c6a1375d95e1de6b6b317a2abcafb2298779e4d989c51665633a552fbd0580949dc017a2ed80b331991a0093d SHA512 25b99027b303150af05a3dc971addac970cf1f8086441e9967cba56f51e710bcb7e8e3a1b31bc72ab5205aaefbcf9bac46757b4efb59d07a109ff7e2c8680b94
diff --git a/app-misc/remind/remind-03.03.01.ebuild b/app-misc/remind/remind-03.03.01.ebuild
new file mode 100644 (file)
index 0000000..775c66a
--- /dev/null
@@ -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/
+}