diff options
Diffstat (limited to 'app-misc/when')
-rw-r--r-- | app-misc/when/Manifest | 4 | ||||
-rw-r--r-- | app-misc/when/metadata.xml | 3 | ||||
-rw-r--r-- | app-misc/when/when-1.1.45.ebuild | 43 |
3 files changed, 49 insertions, 1 deletions
diff --git a/app-misc/when/Manifest b/app-misc/when/Manifest index c3b14dd25f62..56af87bff91b 100644 --- a/app-misc/when/Manifest +++ b/app-misc/when/Manifest @@ -1,3 +1,5 @@ DIST when-1.1.40.tar.gz 55306 BLAKE2B 3d4bdc962ccff64b09f5dda7a2c7be1daa0fd5fed2039f784ea6279e9aac495823159098f6a05c281de40d7964cc244a76c6b3bda1c4227748c04c98effac54d SHA512 0d70f2c9c4d44bbd922dc0d6b1a4e1eb90561a81add3ad4f1e1fc467a6331ca856d66725361d4e5ea3f1ce9ea1ed59d91ad18178e022b029c04c0c15747ecbcd +DIST when-1.1.45.tar.gz 46424 BLAKE2B 5c4d7036d2b5e5db6af3fa611411d11a1952eb8316861a9da90edc75d08e439349a46c4b86ec2c5a43276eb04240c03f59a80224ece8def7b84fee6e0c84ef95 SHA512 918265ae64d06f02dd358c48596e9fab422c5de884f9bf12684d857c50790c5e4977d68040e51c0dfc39c7a4d66b76ba2fa88b620bc96024f89c5be2ab4846fd EBUILD when-1.1.40.ebuild 900 BLAKE2B ec3e9967163ac70897ae0b8a96dda7f379ee694cdc400caa70b3fa31fadc1ddf3adf9466df9834a1fcf1d0e1199a9bb25cbfe18759f0f89ff14c8b68c73445e2 SHA512 5d799b94f8751c4030caf276386f856325d04ea9e15c688a756fa3a72f9a320c1d6975700bd7081621ea67bbbcb151ff60ea9d779295757ced70da0069e4ea76 -MISC metadata.xml 297 BLAKE2B 93b9827af35a8bf09014cc4d0615154d24c24a1ab32ce2e921805bcde835d319ccdd001d067a09cefff7df91149d3359684dcdff84187a2c621d7f232e3fe83c SHA512 678f55c5c019f5c044638c2691c00382db43678afb611ae10b9e8ef82b736f8ee92a0335e172cd2797f4bf075a41338804660c116d68ff1f7e9a90c377329209 +EBUILD when-1.1.45.ebuild 955 BLAKE2B 8622c58df903d0fe36c85fcc85e56f3c0b76da24fc90edb7c389c8abbc0ab65f6d4c8bc4fedfe6c373b45815076871f40f873c86202af449830f911fac8fb0aa SHA512 5876a2420ac919cc7a268f671d7e28f94745f057a14a3c80c47a97adaef8b9f7a7a0ed28fe5498d28767bbbe019e08ab856752fefe01f6594a83d420ad47c6b1 +MISC metadata.xml 385 BLAKE2B 437ce3c11a251b096e0a796c9ebed98122bfc406ac0435d8a9a4d72f6e54035d7268c01f1979769ab66bfe3a19fcb3586f9b6b48651b7df38ce86c818a6124f0 SHA512 b47038f6218ee24906df78e1bfefef1f2365d4721d49c46adf08c848061ead2d727b6ab85f4bcac827a5f358fa41135d61ce3ee08d6273393f4d02a978d0b622 diff --git a/app-misc/when/metadata.xml b/app-misc/when/metadata.xml index 9ce966571c31..5e5fade75398 100644 --- a/app-misc/when/metadata.xml +++ b/app-misc/when/metadata.xml @@ -6,4 +6,7 @@ <name>Gentoo Shell Tools Project</name> </maintainer> <stabilize-allarches/> + <upstream> + <remote-id type="bitbucket">ben-crowell/when</remote-id> + </upstream> </pkgmetadata> 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..95662f98175f --- /dev/null +++ b/app-misc/when/when-1.1.45.ebuild @@ -0,0 +1,43 @@ +# 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 GPL-2 )" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" + +DEPEND="dev-lang/perl" +RDEPEND="${DEPEND}" + +DOCS=( README ) + +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 +} |