diff options
author | Pascal Jäger <pascal.jaeger@leimstift.de> | 2023-09-07 14:27:37 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-09-18 10:06:33 +0100 |
commit | 3e4548e7acd199ef0a18c44d36543ea4aaf8ffdf (patch) | |
tree | a0389800b9d003fa862ad913a5d8ba159e322391 /app-misc/when | |
parent | sys-power/tlp: new version 1.6.0 (diff) | |
download | gentoo-3e4548e7acd199ef0a18c44d36543ea4aaf8ffdf.tar.gz gentoo-3e4548e7acd199ef0a18c44d36543ea4aaf8ffdf.tar.bz2 gentoo-3e4548e7acd199ef0a18c44d36543ea4aaf8ffdf.zip |
app-misc/when: vbump 1.1.45
Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
Closes: https://github.com/gentoo/gentoo/pull/32672
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-misc/when')
-rw-r--r-- | app-misc/when/Manifest | 1 | ||||
-rw-r--r-- | app-misc/when/when-1.1.45.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/app-misc/when/Manifest b/app-misc/when/Manifest index ce8a5159a7c2..5b6b6bf20a05 100644 --- a/app-misc/when/Manifest +++ b/app-misc/when/Manifest @@ -1 +1,2 @@ DIST when-1.1.40.tar.gz 55306 BLAKE2B 3d4bdc962ccff64b09f5dda7a2c7be1daa0fd5fed2039f784ea6279e9aac495823159098f6a05c281de40d7964cc244a76c6b3bda1c4227748c04c98effac54d SHA512 0d70f2c9c4d44bbd922dc0d6b1a4e1eb90561a81add3ad4f1e1fc467a6331ca856d66725361d4e5ea3f1ce9ea1ed59d91ad18178e022b029c04c0c15747ecbcd +DIST when-1.1.45.tar.gz 46424 BLAKE2B 5c4d7036d2b5e5db6af3fa611411d11a1952eb8316861a9da90edc75d08e439349a46c4b86ec2c5a43276eb04240c03f59a80224ece8def7b84fee6e0c84ef95 SHA512 918265ae64d06f02dd358c48596e9fab422c5de884f9bf12684d857c50790c5e4977d68040e51c0dfc39c7a4d66b76ba2fa88b620bc96024f89c5be2ab4846fd diff --git a/app-misc/when/when-1.1.45.ebuild b/app-misc/when/when-1.1.45.ebuild new file mode 100644 index 000000000000..fc0361eda7ba --- /dev/null +++ b/app-misc/when/when-1.1.45.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit vcs-snapshot + +DESCRIPTION="Minimalistic personal calendar program" +HOMEPAGE="http://www.lightandmatter.com/when/when.html https://bitbucket.org/ben-crowell/when" +SRC_URI="https://bitbucket.org/ben-crowell/${PN}/get/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Artistic" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" + +DEPEND="dev-lang/perl" +RDEPEND="${DEPEND}" + +DOCS=( README ) + +RESTRICT="test" + +src_prepare() { + default + + # Fix path for tests + sed -i 's,^ when, ./when,' Makefile || die 'sed failed' +} + +src_compile() { + emake when.1 +} + +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" + einstalldocs +} |