diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-02-12 09:56:54 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-02-12 09:56:54 +0000 |
commit | ebc282ef4dfa408accac685565b8ee5f6faec119 (patch) | |
tree | c0a4f713228cda0ab17eed46f0bb7ca8cb8be2f6 /app-misc/remind/remind-04.02.02.ebuild | |
parent | 6c8694a707151d59555b0e4e48235f085ce166c3 (diff) |
gentoo auto-resync : 12:02:2023 - 09:56:54
Diffstat (limited to 'app-misc/remind/remind-04.02.02.ebuild')
-rw-r--r-- | app-misc/remind/remind-04.02.02.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/app-misc/remind/remind-04.02.02.ebuild b/app-misc/remind/remind-04.02.02.ebuild new file mode 100644 index 000000000000..a8b7d91aa369 --- /dev/null +++ b/app-misc/remind/remind-04.02.02.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Ridiculously functional reminder program" +HOMEPAGE="https://dianne.skoll.ca/projects/remind/" +SRC_URI="https://salsa.debian.org/dskoll/remind/-/archive/${PV}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="tk" + +RDEPEND=" + tk? ( >=dev-lang/tk-8.5 dev-tcltk/tcllib ) +" +DEPEND="${RDEPEND} + dev-perl/Cairo + dev-perl/JSON-MaybeXS + dev-perl/Pango + virtual/perl-Getopt-Long +" +DOCS="docs/* examples/defs.rem " + +PATCHES=( "${FILESDIR}"/${PN}-include-fix.patch ) + +src_test() { + if [[ ${EUID} -eq 0 ]] ; then + ewarn "Testing fails if run as root. Skipping tests" + else + emake test + fi +} + +src_install() { + default + + if ! use tk ; then + rm \ + "${D}"/usr/bin/tkremind \ + "${D}"/usr/share/man/man1/tkremind* \ + || die + fi + + rm "${S}"/contrib/rem2ics-*/{Makefile,rem2ics.spec} || die + insinto /usr/share/${PN} + doins -r contrib/ + insinto /usr/share/vim/vimfiles/syntax + doins examples/remind.vim +} |