[arch-commits] Commit in dina-font/repos/community-any (5 files)

Kyle Keen kkeen at nymeria.archlinux.org
Fri Sep 13 01:06:30 UTC 2013


    Date: Friday, September 13, 2013 @ 03:06:29
  Author: kkeen
Revision: 97100

archrelease: copy trunk to community-any

Added:
  dina-font/repos/community-any/PKGBUILD
    (from rev 97099, dina-font/trunk/PKGBUILD)
  dina-font/repos/community-any/dina-font.install
    (from rev 97099, dina-font/trunk/dina-font.install)
Deleted:
  dina-font/repos/community-any/LICENSE
  dina-font/repos/community-any/PKGBUILD
  dina-font/repos/community-any/dina-font.install

-------------------+
 LICENSE           |    7 ----
 PKGBUILD          |   73 ++++++++++++++++++++++++++++++++++------------------
 dina-font.install |   32 +++++++++++-----------
 3 files changed, 65 insertions(+), 47 deletions(-)

Deleted: LICENSE
===================================================================
--- LICENSE	2013-09-13 01:05:56 UTC (rev 97099)
+++ LICENSE	2013-09-13 01:06:29 UTC (rev 97100)
@@ -1,7 +0,0 @@
-The Dina font is free. You are welcome to use, distribute and modify it
-however you want, just don't use it for anything illegal or claim that
-you made it.
-
-The Dina font is provided 'as-is', without any express or implied
-warranty. In no event will the authors be held liable for any damages
-arising from the use of this font.

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2013-09-13 01:05:56 UTC (rev 97099)
+++ PKGBUILD	2013-09-13 01:06:29 UTC (rev 97100)
@@ -1,24 +0,0 @@
-# $Id$
-# Contributor: Xilon <xilonmu at gmail.com>
-# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
-# Maintainer: Daniel J Griffiths <ghost1227 at archlinux.us>
-
-pkgname=dina-font
-pkgver=2.89
-pkgrel=6
-pkgdesc="A monospace bitmap font, primarily aimed at programmers"
-arch=('any')
-url="http://www.donationcoder.com/Software/Jibz/Dina/index.html"
-license=('custom')
-depends=('xorg-fonts-encodings' 'xorg-fonts-alias' 'xorg-font-utils' 'fontconfig')
-install=${pkgname}.install
-source=(http://ftp.fi.debian.org/gentoo/distfiles/dina-pcf-2.89.tar.gz LICENSE)
-md5sums=('d6c425c007a9a576b4bb88c88cf57076' 'd7f8fbff7893c52e94b29c30369f2037')
-
-package() {
-	cd "${srcdir}/Dina-PCF"
-	for i in *; do
-		install -Dm 644 $i "${pkgdir}/usr/share/fonts/local/$i"
-	done
-	install -Dm644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: dina-font/repos/community-any/PKGBUILD (from rev 97099, dina-font/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2013-09-13 01:06:29 UTC (rev 97100)
@@ -0,0 +1,49 @@
+# $Id$
+# 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=1
+pkgdesc="A monospace bitmap font, primarily aimed at programmers"
+arch=('any')
+url="http://www.donationcoder.com/Software/Jibz/Dina/index.html"
+license=('custom')
+depends=('xorg-fonts-encodings' 'xorg-fonts-alias' 'xorg-font-utils' 'fontconfig')
+makedepends=('xorg-bdftopcf')
+install=${pkgname}.install
+source=(http://www.donationcoder.com/Software/Jibz/Dina/downloads/Dina.zip)
+md5sums=('028424baac750e9fd0f54df03202e5d0')
+
+_ex_pt() {
+    _pt=${1%.bdf}
+    _pt=${_pt#*-}
+    echo $_pt
+}
+
+build() {
+    cd "$srcdir/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
+    
+}
+
+package() {
+    cd "$srcdir/BDF"
+    for i in *.pcf; do
+        install -Dm 644 $i "$pkgdir/usr/share/fonts/local/$i"
+    done
+    install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}

Deleted: dina-font.install
===================================================================
--- dina-font.install	2013-09-13 01:05:56 UTC (rev 97099)
+++ dina-font.install	2013-09-13 01:06:29 UTC (rev 97100)
@@ -1,16 +0,0 @@
-post_install() {
-  echo -n "Updating font cache... " 
-  usr/bin/fc-cache
-  cd usr/share/fonts/local
-  mkfontdir
-  mkfontscale
-  echo "done."
-}
-
-post_upgrade() {
-  post_install $i
-}
-
-post_remove() {
-  usr/bin/fc-cache
-}

Copied: dina-font/repos/community-any/dina-font.install (from rev 97099, dina-font/trunk/dina-font.install)
===================================================================
--- dina-font.install	                        (rev 0)
+++ dina-font.install	2013-09-13 01:06:29 UTC (rev 97100)
@@ -0,0 +1,16 @@
+post_install() {
+  echo -n "Updating font cache... " 
+  usr/bin/fc-cache
+  cd usr/share/fonts/local
+  mkfontdir
+  mkfontscale
+  echo "done."
+}
+
+post_upgrade() {
+  post_install $i
+}
+
+post_remove() {
+  usr/bin/fc-cache
+}




More information about the arch-commits mailing list