diff options
author | Tim Harder <radhermit@gentoo.org> | 2016-08-18 22:36:45 -0400 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2016-08-18 22:36:45 -0400 |
commit | 06d4a39247b9b8d1f00badb87937fff3f80b71e1 (patch) | |
tree | e6731b199059955ffe9030d93d80f2630d76befb /app-misc/when/when-1.1.36.ebuild | |
parent | 0ed518df1af1e2ad4ae73ccda38e151b7b0c4259 (diff) | |
download | gentoo-06d4a39247b9b8d1f00badb87937fff3f80b71e1.tar.gz gentoo-06d4a39247b9b8d1f00badb87937fff3f80b71e1.tar.xz |
app-misc/when: version bump to 1.1.36
Diffstat (limited to 'app-misc/when/when-1.1.36.ebuild')
-rw-r--r-- | app-misc/when/when-1.1.36.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/app-misc/when/when-1.1.36.ebuild b/app-misc/when/when-1.1.36.ebuild new file mode 100644 index 00000000000..73272c18172 --- /dev/null +++ b/app-misc/when/when-1.1.36.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +DESCRIPTION="Extremely simple personal calendar program aimed at the Unix geek who wants something minimalistic" +HOMEPAGE="http://www.lightandmatter.com/when/when.html" +SRC_URI="http://www.lightandmatter.com/when/when.tar.gz -> ${P}.tar.gz" + +LICENSE="Artistic" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" + +DEPEND="dev-lang/perl" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/when_dist + +src_prepare() { + default + + # Fix path for tests + sed -i 's,^ when, ./when,' Makefile || die 'sed failed' +} + +src_compile() { :; } + +src_test() { + # The when command requires these files, or attempts to run setup function. + mkdir "${HOME}"/.when || die 'mkdir failed' + touch "${HOME}"/.when/{calendar,preferences} || die 'touch failed' + emake test +} + +src_install() { + dobin ${PN} + doman ${PN}.1 + dodoc README +} |