diff options
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/tty-clock/Manifest | 2 | ||||
-rw-r--r-- | app-misc/tty-clock/metadata.xml | 3 | ||||
-rw-r--r-- | app-misc/tty-clock/tty-clock-2.3.ebuild | 17 | ||||
-rw-r--r-- | app-misc/tty-clock/tty-clock-9999.ebuild | 35 |
4 files changed, 53 insertions, 4 deletions
diff --git a/app-misc/tty-clock/Manifest b/app-misc/tty-clock/Manifest index 4b98401..6bfeefe 100644 --- a/app-misc/tty-clock/Manifest +++ b/app-misc/tty-clock/Manifest @@ -1 +1 @@ -DIST v2.3.tar.gz 7764 BLAKE2B 16e764c6321407ba1a4545de6f7aeb5b1b1f3e0d94d2e05ef9a95a20bc178b11962518a946aa292f35be0a293d12e3739353d2da80358e86d4bf9c29983a81d6 SHA512 ff3cfd5c6312377128b33c7e8c2138627b996d1b17730d8a8fdf55e95f2020e591e69317459aab8383d178f3cb71af046b84eeb81cabfa9b09a27008c5f4b626 +DIST tty-clock-2.3.tar.gz 7764 BLAKE2B 16e764c6321407ba1a4545de6f7aeb5b1b1f3e0d94d2e05ef9a95a20bc178b11962518a946aa292f35be0a293d12e3739353d2da80358e86d4bf9c29983a81d6 SHA512 ff3cfd5c6312377128b33c7e8c2138627b996d1b17730d8a8fdf55e95f2020e591e69317459aab8383d178f3cb71af046b84eeb81cabfa9b09a27008c5f4b626 diff --git a/app-misc/tty-clock/metadata.xml b/app-misc/tty-clock/metadata.xml index 90ac276..fce19e0 100644 --- a/app-misc/tty-clock/metadata.xml +++ b/app-misc/tty-clock/metadata.xml @@ -5,4 +5,7 @@ <email>casey@theavilas.org</email> <name>casey</name> </maintainer> + <upstream> + <remote-id type="github">xorg86/tty-clock</remote-id> + </upstream> </pkgmetadata> diff --git a/app-misc/tty-clock/tty-clock-2.3.ebuild b/app-misc/tty-clock/tty-clock-2.3.ebuild index 8d0ecbb..99bfade 100644 --- a/app-misc/tty-clock/tty-clock-2.3.ebuild +++ b/app-misc/tty-clock/tty-clock-2.3.ebuild @@ -3,20 +3,31 @@ EAPI=7 +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/xorg62/tty-clock.git" +fi + DESCRIPTION="Clock using lib ncurses" HOMEPAGE="https://github.com/xorg62/tty-clock" -SRC_URI="https://github.com/xorg62/${PN}/archive/v${PV}.tar.gz" + +if [[ ${PV} == *9999 ]]; then + SRC_URI="" + KEYWORDS="" +else + SRC_URI="https://github.com/xorg62/tty-clock/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86" IUSE="" DEPEND="sys-libs/ncurses" RDEPEND="${DEPEND}" BDEPEND="" -DOCS="README" +DOCS=( README ) src_install() { einstalldocs diff --git a/app-misc/tty-clock/tty-clock-9999.ebuild b/app-misc/tty-clock/tty-clock-9999.ebuild new file mode 100644 index 0000000..99bfade --- /dev/null +++ b/app-misc/tty-clock/tty-clock-9999.ebuild @@ -0,0 +1,35 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/xorg62/tty-clock.git" +fi + +DESCRIPTION="Clock using lib ncurses" +HOMEPAGE="https://github.com/xorg62/tty-clock" + +if [[ ${PV} == *9999 ]]; then + SRC_URI="" + KEYWORDS="" +else + SRC_URI="https://github.com/xorg62/tty-clock/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="BSD" +SLOT="0" +IUSE="" + +DEPEND="sys-libs/ncurses" +RDEPEND="${DEPEND}" +BDEPEND="" + +DOCS=( README ) + +src_install() { + einstalldocs + emake DESTDIR="${D}" PREFIX="/usr" install +} |