summary refs log tree commit diff
path: root/app-misc/tty-clock/tty-clock-2.3.ebuild
diff options
context:
space:
mode:
authorCasey Avila <casey@theavilas.org>2020-08-11 07:28:10 -0700
committerCasey Avila <casey@theavilas.org>2020-08-11 07:28:10 -0700
commit3e169288301d8d2c136385b2da0fbb31239bd2c4 (patch)
tree97888b0fdf46338d579abcb2148afd6ca4622022 /app-misc/tty-clock/tty-clock-2.3.ebuild
parentUpdate TODO.md (diff)
app-misc/tty-clock: Add package
Add https://github.com/xorg62/tty-clock to the overlay since it looks
very nice in screenshots.
Diffstat (limited to 'app-misc/tty-clock/tty-clock-2.3.ebuild')
-rw-r--r--app-misc/tty-clock/tty-clock-2.3.ebuild24
1 files changed, 24 insertions, 0 deletions
diff --git a/app-misc/tty-clock/tty-clock-2.3.ebuild b/app-misc/tty-clock/tty-clock-2.3.ebuild
new file mode 100644
index 0000000..8d0ecbb
--- /dev/null
+++ b/app-misc/tty-clock/tty-clock-2.3.ebuild
@@ -0,0 +1,24 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Clock using lib ncurses"
+HOMEPAGE="https://github.com/xorg62/tty-clock"
+SRC_URI="https://github.com/xorg62/${PN}/archive/v${PV}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="sys-libs/ncurses"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+DOCS="README"
+
+src_install() {
+	einstalldocs
+	emake DESTDIR="${D}" PREFIX="/usr" install
+}

Consider giving Nix/NixOS a try! <3