summary refs log tree commit diff
path: root/app-misc/tty-clock
diff options
context:
space:
mode:
authorAzat Bahawi <azahi@teknik.io>2021-02-18 13:24:44 +0300
committerAzat Bahawi <azahi@teknik.io>2021-02-18 13:24:44 +0300
commit9be57f7fca5f0bf62699b090e0d0119431097cb7 (patch)
tree9d182494730b424a98b209062f1b92eea688b39b /app-misc/tty-clock
parentapp-misc/stag: Fix building (diff)
app-misc/tty-clock: Fix build and deps
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Diffstat (limited to 'app-misc/tty-clock')
-rw-r--r--app-misc/tty-clock/tty-clock-2.3.ebuild11
-rw-r--r--app-misc/tty-clock/tty-clock-9999.ebuild11
2 files changed, 16 insertions, 6 deletions
diff --git a/app-misc/tty-clock/tty-clock-2.3.ebuild b/app-misc/tty-clock/tty-clock-2.3.ebuild
index 88c8c91..f94130e 100644
--- a/app-misc/tty-clock/tty-clock-2.3.ebuild
+++ b/app-misc/tty-clock/tty-clock-2.3.ebuild
@@ -25,11 +25,16 @@ IUSE=""
 
 DEPEND="sys-libs/ncurses"
 RDEPEND="${DEPEND}"
-BDEPEND=""
+BDEPEND="virtual/pkgconfig"
 
-DOCS=( README )
+DOCS=(
+	README
+)
 
 src_install() {
+	emake install \
+		DESTDIR="${D}" \
+		PREFIX="${EPREFIX}/usr"
+
 	einstalldocs
-	emake DESTDIR="${D}" PREFIX="/usr" install
 }
diff --git a/app-misc/tty-clock/tty-clock-9999.ebuild b/app-misc/tty-clock/tty-clock-9999.ebuild
index 88c8c91..f94130e 100644
--- a/app-misc/tty-clock/tty-clock-9999.ebuild
+++ b/app-misc/tty-clock/tty-clock-9999.ebuild
@@ -25,11 +25,16 @@ IUSE=""
 
 DEPEND="sys-libs/ncurses"
 RDEPEND="${DEPEND}"
-BDEPEND=""
+BDEPEND="virtual/pkgconfig"
 
-DOCS=( README )
+DOCS=(
+	README
+)
 
 src_install() {
+	emake install \
+		DESTDIR="${D}" \
+		PREFIX="${EPREFIX}/usr"
+
 	einstalldocs
-	emake DESTDIR="${D}" PREFIX="/usr" install
 }

Consider giving Nix/NixOS a try! <3