[arch-commits] Commit in terminus-font/repos/community-any (3 files)

Johannes Löthberg demize at archlinux.org
Tue Jan 1 18:45:14 UTC 2019


    Date: Tuesday, January 1, 2019 @ 18:45:14
  Author: demize
Revision: 420217

archrelease: copy trunk to community-any

Added:
  terminus-font/repos/community-any/PKGBUILD
    (from rev 420216, terminus-font/trunk/PKGBUILD)
  terminus-font/repos/community-any/fix-75-yes-terminus.patch
    (from rev 420216, terminus-font/trunk/fix-75-yes-terminus.patch)
Deleted:
  terminus-font/repos/community-any/PKGBUILD

---------------------------+
 PKGBUILD                  |  109 +++++++++++++++++++++++---------------------
 fix-75-yes-terminus.patch |   11 ++++
 2 files changed, 68 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-01-01 18:45:06 UTC (rev 420216)
+++ PKGBUILD	2019-01-01 18:45:14 UTC (rev 420217)
@@ -1,52 +0,0 @@
-# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
-# Contributor: Alexander F Rødseth <xyproto at archlinux.org>
-# Contributor: Vesa Kaihlavirta <vegai at iki.fi>
-# Contributor: Kristoffer Fossgård <kfs1 at online.no>
-# Contributor: clonejo <clonejo at shakik.de>
-# Contributor: Daniel Micay <danielmicay at gmail.com>
-
-pkgname=terminus-font
-pkgver=4.47
-pkgrel=1
-
-pkgdesc='Monospace bitmap font (for X11 and console)'
-url='http://terminus-font.sourceforge.net/'
-arch=('any')
-license=('GPL2' 'custom:OFL')
-
-makedepends=('xorg-bdftopcf' 'fontconfig' 'xorg-mkfontscale' 'xorg-mkfontdir' 'python3')
-optdepends=('xorg-fonts-alias')
-depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils')
-
-source=("https://downloads.sourceforge.net/project/terminus-font/terminus-font-$pkgver/terminus-font-$pkgver.tar.gz")
-
-sha256sums=('0f1b205888e4e26a94878f746b8566a65c3e3742b33cf9a4e6517646d5651297')
-
-prepare() {
-  chmod +x "terminus-font-$pkgver/configure"
-}
-
-build() {
-  cd "terminus-font-$pkgver"
-
-  ./configure \
-    --prefix=/usr \
-    --x11dir=/usr/share/fonts/misc \
-    --psfdir=/usr/share/kbd/consolefonts
-  make
-}
-
-package() {
-  make -C "terminus-font-$pkgver" DESTDIR="$pkgdir" install
-
-  install -Dm644 "$srcdir/terminus-font-$pkgver/75-yes-terminus.conf" \
-    "$pkgdir/etc/fonts/conf.avail/75-yes-terminus.conf"
-  install -Dm644 "$srcdir/terminus-font-$pkgver/OFL.TXT" \
-    "$pkgdir/usr/share/licenses/terminus-font/LICENSE"
-  install -d "$pkgdir/etc/fonts/conf.d"
-
-  cd "$pkgdir/etc/fonts/conf.d"
-  ln -s ../conf.avail/75-yes-terminus.conf .
-}
-
-# vim:set ts=2 sw=2 et:

Copied: terminus-font/repos/community-any/PKGBUILD (from rev 420216, terminus-font/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-01-01 18:45:14 UTC (rev 420217)
@@ -0,0 +1,57 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Contributor: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Vesa Kaihlavirta <vegai at iki.fi>
+# Contributor: Kristoffer Fossgård <kfs1 at online.no>
+# Contributor: clonejo <clonejo at shakik.de>
+# Contributor: Daniel Micay <danielmicay at gmail.com>
+
+pkgname=terminus-font
+pkgver=4.47
+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' 'fontconfig' 'xorg-mkfontscale' 'xorg-mkfontdir' 'python3')
+optdepends=('xorg-fonts-alias')
+depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils')
+
+source=("https://downloads.sourceforge.net/project/terminus-font/terminus-font-$pkgver/terminus-font-$pkgver.tar.gz"
+        fix-75-yes-terminus.patch)
+
+sha256sums=('0f1b205888e4e26a94878f746b8566a65c3e3742b33cf9a4e6517646d5651297'
+            'ddd86485cf6d54e020e36f1c38c56e8b21b57c23a5d76250e15c1d16fed9caa5')
+
+prepare() {
+  cd "terminus-font-$pkgver"
+
+  chmod +x configure
+  patch -p1 <"$srcdir"/fix-75-yes-terminus.patch
+}
+
+build() {
+  cd "terminus-font-$pkgver"
+
+  ./configure \
+    --prefix=/usr \
+    --x11dir=/usr/share/fonts/misc \
+    --psfdir=/usr/share/kbd/consolefonts
+  make
+}
+
+package() {
+  make -C "terminus-font-$pkgver" DESTDIR="$pkgdir" install
+
+  install -Dm644 "$srcdir/terminus-font-$pkgver/75-yes-terminus.conf" \
+    "$pkgdir/etc/fonts/conf.avail/75-yes-terminus.conf"
+  install -Dm644 "$srcdir/terminus-font-$pkgver/OFL.TXT" \
+    "$pkgdir/usr/share/licenses/terminus-font/LICENSE"
+  install -d "$pkgdir/etc/fonts/conf.d"
+
+  cd "$pkgdir/etc/fonts/conf.d"
+  ln -s ../conf.avail/75-yes-terminus.conf .
+}
+
+# vim:set ts=2 sw=2 et:

Copied: terminus-font/repos/community-any/fix-75-yes-terminus.patch (from rev 420216, terminus-font/trunk/fix-75-yes-terminus.patch)
===================================================================
--- fix-75-yes-terminus.patch	                        (rev 0)
+++ fix-75-yes-terminus.patch	2019-01-01 18:45:14 UTC (rev 420217)
@@ -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>



More information about the arch-commits mailing list