Date: Sunday, March 28, 2021 @ 17:12:12 Author: heftig Revision: 907030
archrelease: copy trunk to community-testing-any Added: terminus-font/repos/community-testing-any/ terminus-font/repos/community-testing-any/PKGBUILD (from rev 907029, terminus-font/trunk/PKGBUILD) terminus-font/repos/community-testing-any/fix-75-yes-terminus.patch (from rev 907029, terminus-font/trunk/fix-75-yes-terminus.patch) ---------------------------+ PKGBUILD | 53 ++++++++++++++++++++++++++++++++++++++++++++ fix-75-yes-terminus.patch | 11 +++++++++ 2 files changed, 64 insertions(+) Copied: terminus-font/repos/community-testing-any/PKGBUILD (from rev 907029, terminus-font/trunk/PKGBUILD) =================================================================== --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2021-03-28 17:12:12 UTC (rev 907030) @@ -0,0 +1,53 @@ +# Maintainer: Johannes Löthberg <johan...@kyriasis.com> +# Contributor: Alexander F Rødseth <xypr...@archlinux.org> +# Contributor: Vesa Kaihlavirta <ve...@iki.fi> +# Contributor: Kristoffer Fossgård <k...@online.no> +# Contributor: clonejo <clon...@shakik.de> +# Contributor: Daniel Micay <danielmi...@gmail.com> + +pkgname=terminus-font +pkgver=4.49.1 +pkgrel=2 + +pkgdesc='Monospace bitmap font (for X11 and console)' +url='http://terminus-font.sourceforge.net/' +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%.1}/terminus-font-$pkgver.tar.gz" + fix-75-yes-terminus.patch) +sha256sums=('d961c1b781627bf417f9b340693d64fc219e0113ad3a3af1a3424c7aa373ef79' + 'ddd86485cf6d54e020e36f1c38c56e8b21b57c23a5d76250e15c1d16fed9caa5') + +prepare() { + cd "terminus-font-$pkgver" + patch -p1 <"$srcdir"/fix-75-yes-terminus.patch +} + +build() { + cd "terminus-font-$pkgver" + + ./configure \ + --prefix=/usr \ + --x11dir=/usr/share/fonts/misc \ + --otbdir=/usr/share/fonts/misc \ + --psfdir=/usr/share/kbd/consolefonts + make all otb +} + +package() { + make -C "terminus-font-$pkgver" DESTDIR="$pkgdir" install install-otb + + install -Dm644 "$srcdir/terminus-font-$pkgver/75-yes-terminus.conf" \ + "$pkgdir/usr/share/fontconfig/conf.avail/75-yes-terminus.conf" + install -Dm644 "$srcdir/terminus-font-$pkgver/OFL.TXT" \ + "$pkgdir/usr/share/licenses/terminus-font/LICENSE" + + install -d "$pkgdir/usr/share/fontconfig/conf.default" + ln -sr "$pkgdir/usr/share/fontconfig/conf.avail/75-yes-terminus.conf" \ + "$pkgdir/usr/share/fontconfig/conf.default/75-yes-terminus.conf" +} + +# vim:set ts=2 sw=2 et: Copied: terminus-font/repos/community-testing-any/fix-75-yes-terminus.patch (from rev 907029, terminus-font/trunk/fix-75-yes-terminus.patch) =================================================================== --- community-testing-any/fix-75-yes-terminus.patch (rev 0) +++ community-testing-any/fix-75-yes-terminus.patch 2021-03-28 17:12:12 UTC (rev 907030) @@ -0,0 +1,11 @@ +--- a/75-yes-terminus.conf 2019-01-01 19:32:47.000000000 +0100 ++++ b/75-yes-terminus.conf 2019-01-01 19:41:28.323308293 +0100 +@@ -5,7 +5,7 @@ + <selectfont> + <acceptfont> + <pattern> +- <patelt name="family"><string>Terminus</string></patelt> ++ <patelt name="family"><string>xos4 Terminus</string></patelt> + </pattern> + </acceptfont> + </selectfont>