[arch-commits] Commit in dina-font/repos (3 files)
Evangelos Foutras
foutrelis at archlinux.org
Sat Nov 10 05:16:29 UTC 2018
Date: Saturday, November 10, 2018 @ 05:16:28
Author: foutrelis
Revision: 405631
archrelease: copy trunk to community-staging-any
Added:
dina-font/repos/community-staging-any/
dina-font/repos/community-staging-any/75-yes-dina.conf
(from rev 405630, dina-font/trunk/75-yes-dina.conf)
dina-font/repos/community-staging-any/PKGBUILD
(from rev 405630, dina-font/trunk/PKGBUILD)
----------+
PKGBUILD | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 55 insertions(+)
Copied: dina-font/repos/community-staging-any/75-yes-dina.conf (from rev 405630, dina-font/trunk/75-yes-dina.conf)
===================================================================
(Binary files differ)
Copied: dina-font/repos/community-staging-any/PKGBUILD (from rev 405630, dina-font/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2018-11-10 05:16:28 UTC (rev 405631)
@@ -0,0 +1,55 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+# Contributor: Xilon <xilonmu at gmail.com>
+# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
+
+pkgname=dina-font
+pkgver=2.92
+pkgrel=7
+pkgdesc="A monospace bitmap font, primarily aimed at programmers"
+arch=('any')
+url="https://www.dcmembers.com/jibsen/download/61/"
+license=('custom')
+depends=('xorg-fonts-encodings' 'xorg-fonts-alias' 'xorg-font-utils' 'fontconfig')
+makedepends=('xorg-bdftopcf')
+source=("dina-$pkgver-new.zip::https://www.dcmembers.com/jibsen/download/61/?wpdmdl=61"
+ 75-yes-dina.conf)
+md5sums=('SKIP'
+ 'd2ea97a9ee0595cbdb02168bb7a85f12')
+
+_ex_pt() {
+ _pt=${1%.bdf}
+ _pt=${_pt#*-}
+ echo $_pt
+}
+
+build() {
+ cd "$srcdir/BDF"
+
+ sed -i 's/microsoft-cp1252/ISO8859-1/' *.bdf
+
+ for i in Dina_i400-*.bdf; do
+ bdftopcf -t -o DinaItalic$(_ex_pt $i).pcf $i
+ done
+ for i in Dina_i700-*.bdf; do
+ bdftopcf -t -o DinaBoldItalic$(_ex_pt $i).pcf $i
+ done
+ for i in Dina_r400-*.bdf; do
+ bdftopcf -t -o DinaMedium$(_ex_pt $i).pcf $i
+ done
+ for i in Dina_r700-*.bdf; do
+ bdftopcf -t -o DinaBold$(_ex_pt $i).pcf $i
+ done
+ gzip *.pcf
+}
+
+package() {
+ cd "$srcdir/BDF"
+ for i in *.gz; do
+ install -Dm 644 $i "$pkgdir/usr/share/fonts/misc/$i"
+ done
+ install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm644 "$srcdir/75-yes-dina.conf" "$pkgdir/etc/fonts/conf.avail/75-yes-dina.conf"
+ install -d "$pkgdir/etc/fonts/conf.d/"
+ ln -s /etc/fonts/conf.avail/75-yes-dina.conf "$pkgdir/etc/fonts/conf.d/75-yes-dina.conf"
+}
More information about the arch-commits
mailing list