summary refs log tree commit diff
path: root/media-fonts/uw-ttyp0/uw-ttyp0-1.3.ebuild
diff options
context:
space:
mode:
authorAzat Bahawi <azahi@teknik.io>2020-11-04 17:37:40 +0300
committerAzat Bahawi <azahi@teknik.io>2020-11-04 17:37:51 +0300
commit4a014eb0d6b8f297ae62947aead0aea52f3bf9c6 (patch)
tree23b341949f85beeaa76f2579ae6972f9d5a95a8f /media-fonts/uw-ttyp0/uw-ttyp0-1.3.ebuild
parentx11-misc/xob: Add package (diff)
media-fonts/uw-ttyp0: Add package
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Azat Bahawi <azahi@teknik.io>
Diffstat (limited to '')
-rw-r--r--media-fonts/uw-ttyp0/uw-ttyp0-1.3.ebuild29
1 files changed, 29 insertions, 0 deletions
diff --git a/media-fonts/uw-ttyp0/uw-ttyp0-1.3.ebuild b/media-fonts/uw-ttyp0/uw-ttyp0-1.3.ebuild
new file mode 100644
index 0000000..9bf12cf
--- /dev/null
+++ b/media-fonts/uw-ttyp0/uw-ttyp0-1.3.ebuild
@@ -0,0 +1,29 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit font
+
+DESCRIPTION="Bitmap programmer's fonts"
+HOMEPAGE="http://people.mpi-inf.mpg.de/~uwe/misc/uw-ttyp0/"
+SRC_URI="https://people.mpi-inf.mpg.de/~uwe/misc/uw-ttyp0/${P}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+BDEPEND="
+	dev-lang/perl
+	x11-apps/bdftopcf
+"
+
+src_configure() {
+	./configure prefix="${EPREFIX}/usr" pcfdir="${FONTDIR}"
+}
+
+src_install() {
+	emake install DESTDIR="${D}"
+}

Consider giving Nix/NixOS a try! <3