[arch-commits] Commit in terminus-font/trunk (PKGBUILD)

Christian Hesse eworm at archlinux.org
Sun Dec 27 22:15:24 UTC 2020


    Date: Sunday, December 27, 2020 @ 22:15:23
  Author: eworm
Revision: 793898

upgpkg: terminus-font 4.49-2: ship fonts in otb (Open Type Bitmap) format

... and replace terminus-font-otb.

Modified:
  terminus-font/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-27 22:15:13 UTC (rev 793897)
+++ PKGBUILD	2020-12-27 22:15:23 UTC (rev 793898)
@@ -7,7 +7,7 @@
 
 pkgname=terminus-font
 pkgver=4.49
-pkgrel=1
+pkgrel=2
 
 pkgdesc='Monospace bitmap font (for X11 and console)'
 url='http://terminus-font.sourceforge.net/'
@@ -14,6 +14,8 @@
 arch=('any')
 license=('GPL2' 'custom:OFL')
 makedepends=('xorg-bdftopcf' 'python')
+conflicts=('terminus-font-otb')
+replaces=('terminus-font-otb')
 source=("https://downloads.sourceforge.net/project/terminus-font/terminus-font-$pkgver/terminus-font-$pkgver.tar.gz"
         fix-75-yes-terminus.patch)
 sha256sums=('db0a74551a23d2229db6ffea469ca8e390625ace4069dd1c1a3d05a16ed2634d'
@@ -30,12 +32,13 @@
   ./configure \
     --prefix=/usr \
     --x11dir=/usr/share/fonts/misc \
+    --otbdir=/usr/share/fonts/misc \
     --psfdir=/usr/share/kbd/consolefonts
-  make
+  make all otb
 }
 
 package() {
-  make -C "terminus-font-$pkgver" DESTDIR="$pkgdir" install
+  make -C "terminus-font-$pkgver" DESTDIR="$pkgdir" install install-otb
 
   install -Dm644 "$srcdir/terminus-font-$pkgver/75-yes-terminus.conf" \
     "$pkgdir/etc/fonts/conf.avail/75-yes-terminus.conf"



More information about the arch-commits mailing list