summary refs log tree commit diff
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
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>
-rw-r--r--media-fonts/uw-ttyp0/Manifest1
-rw-r--r--media-fonts/uw-ttyp0/metadata.xml8
-rw-r--r--media-fonts/uw-ttyp0/uw-ttyp0-1.3.ebuild29
3 files changed, 38 insertions, 0 deletions
diff --git a/media-fonts/uw-ttyp0/Manifest b/media-fonts/uw-ttyp0/Manifest
new file mode 100644
index 0000000..ff7085d
--- /dev/null
+++ b/media-fonts/uw-ttyp0/Manifest
@@ -0,0 +1 @@
+DIST uw-ttyp0-1.3.tar.gz 702217 BLAKE2B baa389db9a175af89f252d685822261e5cea4a2169235911e27f4790111968cbb2848c894cc00ad459737b351422de687cd5999f6bb200b82d0de6e10c98034f SHA512 193966b826cafa313384f20e225d4a0b0057364ed23c2beaf27a59095fdb9079281fdc1d292592038512a56ec0387e531a28449344e2960f0ecd3e64c7a6f6e7
diff --git a/media-fonts/uw-ttyp0/metadata.xml b/media-fonts/uw-ttyp0/metadata.xml
new file mode 100644
index 0000000..7869e07
--- /dev/null
+++ b/media-fonts/uw-ttyp0/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>azahi@teknik.io</email>
+		<name>azahi</name>
+	</maintainer>
+</pkgmetadata>
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