summary refs log tree commit diff
path: root/app-misc/stag/stag-1.0.0.ebuild
diff options
context:
space:
mode:
authorCasey Avila <casey@theavilas.org>2020-10-02 21:23:33 -0700
committerCasey Avila <casey@theavilas.org>2020-10-02 21:23:33 -0700
commit01c481ccab62bf520a83bce5d4021b9b5b647654 (patch)
tree1e5f4d571bb0a3e83f3e0b5a137d0b49a276ed01 /app-misc/stag/stag-1.0.0.ebuild
parentx11-apps/sx: Update ebuild, bump version (diff)
app-misc/stag: Add package
Diffstat (limited to 'app-misc/stag/stag-1.0.0.ebuild')
-rw-r--r--app-misc/stag/stag-1.0.0.ebuild25
1 files changed, 25 insertions, 0 deletions
diff --git a/app-misc/stag/stag-1.0.0.ebuild b/app-misc/stag/stag-1.0.0.ebuild
new file mode 100644
index 0000000..68b9c88
--- /dev/null
+++ b/app-misc/stag/stag-1.0.0.ebuild
@@ -0,0 +1,25 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Streaming bar graphs. For stats and stuff."
+HOMEPAGE="https://github.com/seenaburns/stag"
+SRC_URI="https://github.com/seenaburns/stag/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="sys-libs/ncurses"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+PATCHES=(
+	"${FILESDIR}/${P}-ncurses.patch"
+)
+
+src_install() {
+	emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
+}

Consider giving Nix/NixOS a try! <3