summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Farley2019-11-21 12:16:45 -0600
committerRyan Farley2019-11-21 12:16:45 -0600
commit85b9cf5d3153ab71439cf3a881c9873e36aef9f0 (patch)
treea08f03925fd2819eb7f74cfe43099a0276ce1e5f
downloadaur-85b9cf5d3153ab71439cf3a881c9873e36aef9f0.tar.gz
initial commit
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD35
2 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b4e890f2811
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = tamsyn-font-otb
+ pkgdesc = A monospaced bitmap font for the console and X11 (OTB Format)
+ pkgver = 1.11
+ pkgrel = 3
+ url = http://www.fial.com/~scott/tamsyn-font
+ arch = any
+ license = custom
+ depends = fontconfig
+ depends = xorg-fonts-encodings
+ depends = xorg-font-utils
+ depends = fonttosfnt-git
+ source = https://www.fial.com/~scott/tamsyn-font/download/tamsyn-font-1.11.tar.gz
+ md5sums = 6ec13672d2f0d6a829f2403cdeebd980
+
+pkgname = tamsyn-font-otb
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..0b58b88afbe
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Ryan Farley <ryan.farley@gmx.com>
+# Contributor: Sven-Hendrik Haase <sh@lutzhaase.com>
+# Contributor: Scott Fial <scott at fial dot com>
+
+_pkgname=tamsyn-font
+pkgname=tamsyn-font-otb
+pkgver=1.11
+pkgrel=3
+pkgdesc="A monospaced bitmap font for the console and X11 (OTB Format)"
+arch=('any')
+url="http://www.fial.com/~scott/tamsyn-font"
+license=('custom')
+depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils' 'fonttosfnt-git')
+source=("https://www.fial.com/~scott/$_pkgname/download/$_pkgname-$pkgver.tar.gz")
+md5sums=('6ec13672d2f0d6a829f2403cdeebd980')
+
+build() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ for f in *.pcf; do
+ fonttosfnt -o "${f/pcf/otb}" "$f"
+ done
+}
+
+package () {
+ cd "$srcdir/$_pkgname-$pkgver"
+
+ install -d "$pkgdir/usr/share/fonts/misc"
+ install -d "$pkgdir/usr/share/kbd/consolefonts"
+ install -d "$pkgdir/usr/share/doc/$pkgname"
+
+ install -m644 *.otb "$pkgdir/usr/share/fonts/misc/"
+ install -m644 *.psf.gz "$pkgdir/usr/share/kbd/consolefonts/"
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm644 README "$pkgdir/usr/share/doc/$pkgname/"
+}