[arch-commits] Commit in terminus-font/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Sat Nov 10 00:25:52 UTC 2018


    Date: Saturday, November 10, 2018 @ 00:25:51
  Author: foutrelis
Revision: 405522

archrelease: copy trunk to community-staging-any

Added:
  terminus-font/repos/community-staging-any/
  terminus-font/repos/community-staging-any/PKGBUILD
    (from rev 405521, terminus-font/trunk/PKGBUILD)

----------+
 PKGBUILD |   49 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)

Copied: terminus-font/repos/community-staging-any/PKGBUILD (from rev 405521, terminus-font/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-11-10 00:25:51 UTC (rev 405522)
@@ -0,0 +1,49 @@
+# 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.46
+pkgrel=2
+pkgdesc='Monospace bitmap font (for X11 and console)'
+arch=('any')
+url='https://sourceforge.net/projects/terminus-font/'
+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/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('4e29433e5699b76df1f5c9a96f1228cccf8ea8a16791cfef063f2b8506c75bcd')
+
+prepare() {
+  chmod +x "$pkgname-$pkgver/configure"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  ./configure \
+    --prefix=/usr \
+    --x11dir=/usr/share/fonts/misc \
+    --psfdir=/usr/share/kbd/consolefonts
+  make
+}
+
+package() {
+  make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
+
+  install -Dm644 "$srcdir/$pkgname-$pkgver/75-yes-terminus.conf" \
+    "$pkgdir/etc/fonts/conf.avail/75-yes-terminus.conf"
+  install -Dm644 "$srcdir/$pkgname-$pkgver/OFL.TXT" \
+    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  install -d "$pkgdir/etc/fonts/conf.d"
+
+  cd "$pkgdir/etc/fonts/conf.d"
+  ln -s ../conf.avail/75-yes-terminus.conf .
+}
+
+# getver: terminus-font.sf.net
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list