Commits

William Giokas committed 46e7b0c

Completely renovated proggyfonts

Instead of using the multitude of files from proggyfonts.com, just get
those and tgz them up for smaller download and PKGBUILD.

Comments (0)

Files changed (1)

main/proggyfonts/PKGBUILD

 # Contributor: David Arroyo <david.a.arroyo@gmail.com
-# Contributor: William Giokas <1007380@gmail.com>
-# Maintainer:   David Arroyo
+# Maintainer: William Giokas <1007380@gmail.com>
+
 pkgname=proggyfonts
 pkgver=0.1
-pkgrel=9
+pkgrel=10
 arch=('any')
 pkgdesc="A set of fixed-width fonts designed for code listings."
 url="http://www.proggyfonts.com"
 license=('custom:noname')
 depends=(xorg-font-utils fontconfig)
 install=proggyfonts.install
-source=(
-  http://www.proggyfonts.com/download/ProggyClean.pcf.zip
-  http://www.proggyfonts.com/download/ProggyClean.ttf.zip
-  http://www.proggyfonts.com/download/ProggySquare.pcf.zip
-  http://www.proggyfonts.com/download/ProggySquare.ttf.zip
-  http://www.proggyfonts.com/download/ProggySmall.pcf.zip
-  http://www.proggyfonts.com/download/ProggySmall.ttf.zip
-  http://www.proggyfonts.com/download/ProggyTiny.pcf.zip
-  http://www.proggyfonts.com/download/ProggyTiny.ttf.zip
-  http://www.proggyfonts.com/download/ProggyCleanSZ.pcf.zip
-  http://www.proggyfonts.com/download/ProggyCleanSZ.ttf.zip
-  http://www.proggyfonts.com/download/ProggySquareSZ.pcf.zip
-  http://www.proggyfonts.com/download/ProggySquareSZ.ttf.zip
-  http://www.proggyfonts.com/download/ProggyTinySZ.pcf.zip
-  http://www.proggyfonts.com/download/ProggyTinySZ.ttf.zip
-  http://www.proggyfonts.com/download/ProggyCleanSZBP.pcf.zip
-  http://www.proggyfonts.com/download/ProggyCleanSZBP.ttf.zip
-  http://www.proggyfonts.com/download/ProggyCleanCP.pcf.zip
-  http://www.proggyfonts.com/download/Progsole.bdf.zip
-  http://www.proggyfonts.com/download/CodingFontTobi.zip
-  http://www.proggyfonts.com/download/CodingFontTobi.pcf.zip
-  http://www.proggyfonts.com/download/SpeedyPCF.zip
-  http://www.proggyfonts.com/download/Crisp.ttf.zip
-  http://www.proggyfonts.com/download/PixelCarnageMono.ttf.zip
-  http://www.proggyfonts.com/download/PixelCarnageMono.pcf.gz
-  http://www.proggyfonts.com/download/WebbySmall.pcf.zip
-  http://www.proggyfonts.com/download/WebbyCaps.pcf.zip
-  http://www.proggyfonts.com/download/Opti.pcf.gz
-  http://www.proggyfonts.com/download/OptiSmall.pcf.gz)
+source=("http://173.234.237.218/software/proggyfonts-${pkgver}.tar.gz")
+
+md5sums=('a9dd1d2bd9cef9bc62cba8934ac2e2c1')
 
-md5sums=('f39b05d44286f9f4eac1ee64383d389e' '522c036b817b7deadb110499ac2849a6'
-         'de72f3c612b9ca995ab836a4b506874c' '901450e8216b40f607c9971d6e3d7bc6'
-         'fb78a921004411b3a78ab33ee7c3ab67' '0dad38f7617a44ab4c74537ab74e1012'
-         '67faea5ded715cb706a8479637bca138' 'db01b9bd4b8c2b29d315b010c72288da'
-         'b760abce583da79cb0226667f3b15463' '8672020fd2116c1aa02264ce61a00dbb'
-         'd2135660b1efa63d9a8682573cff087a' '573250a940e0371c8ab7578f021e5cb0'
-         '7e8d69e94aa2500d697900ce4b9f16be' 'd07b6c7f0de1a35b91e289b4dd6352bd'
-         'a0d3b796cffda06adfb9eefb2ea46bc3' '8548b859a0e2e7357c48c2aacfa2c2d5'
-         '41889659c56d29318838ed1beeac7a62' '4ebf58e861ee84a9864298aadcc8595d'
-         'de9bafc024845ba9fc8fe4763e044a07' 'a707e57b923a0b00a63aa19e35f83954'
-         '7f19ad09aaa65853fbabec7619b61002' 'd468fb8eeff965cbaff70eb341b846fd'
-         '0fddf691a0a4aeec159e02a8a8be7293' '60e6ecdc31af4dffb4eb7c14ffc50f75'
-         'ac196e0e89ca47cd284cf2516aefe624' 'b645cff755222d70e2e9f055cf18b707'
-         '0afaa67da205adc4bc1494bd5cb0be82' 'e678320a84e72b9dfc3e56d0189259be')
+build() {
+  cd "$srcdir/proggyfonts"
+  # gzip all of the pcf fonts to save space
+  for fonts in *.pcf; do
+    gzip $fonts
+  done
+}
 
 package() {
-  cd "$srcdir"
+  cd "$srcdir/proggyfonts"
   mkdir -p "$pkgdir/usr/share/fonts/"{misc,TTF}
   install -m644 *.pcf.gz    "$pkgdir/usr/share/fonts/misc"
   install -m644 *.bdf       "$pkgdir/usr/share/fonts/misc"