summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7d195f72628836f5baeaa86ecaabccef9e2b3789 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# Maintainer: Mike Javorski (javmorin) <mike.javorski@gmail.com>
# Maintainer: Akita Noek <akitanoek@gmail.com>
# Contributor: Tyler Langlois <ty |at| tjll |dot| net>
# Contributor: David Arroyo <david.a.arroyo@gmail.com
# Contributor: William Giokas <1007380@gmail.com>

# Note: many packages on the font size download page provide only
# "bitmap fonts", which are provided in .fon format and are thus
# Windows-compatible only and are excluded from this package.

pkgname=proggyfonts
pkgver=0.3
pkgrel=2
arch=('any')
pkgdesc='A set of fixed-width fonts designed for code listings.'
url='https://github.com/bluescan/proggyfonts/'
license=('MIT')
depends=('xorg-mkfontdir' 'xorg-mkfontscale' 'fontconfig')
install="$pkgname.install"
source=("$pkgname.install"
        "LICENSE::https://github.com/bluescan/proggyfonts/raw/master/LICENSE"
        "CodingFontTobi.zip::https://github.com/bluescan/proggyfonts/raw/master/Contributed/CodingFontTobi.zip"
        "Crisp.ttf.zip::https://github.com/bluescan/proggyfonts/raw/master/Contributed/Crisp.ttf.zip"
        "PixelCarnageMono.ttf.zip::https://github.com/bluescan/proggyfonts/raw/master/Contributed/PixelCarnageMono.ttf.zip"
        "ProggyClean.ttf::https://github.com/bluescan/proggyfonts/raw/master/ProggyOriginal/ProggyClean.ttf"
        "ProggyCleanCP.pcf.gz::https://github.com/bluescan/proggyfonts/raw/master/ProggyOriginal/ProggyCleanCP.pcf.gz"
        "ProggyCleanSZ.ttf::https://github.com/bluescan/proggyfonts/raw/master/ProggyOriginal/ProggyCleanSZ.ttf"
        "ProggyCleanSZBP.ttf::https://github.com/bluescan/proggyfonts/raw/master/ProggyOriginal/ProggyCleanSZBP.ttf"
        "ProggySmall.ttf::https://github.com/bluescan/proggyfonts/raw/master/ProggyOriginal/ProggySmall.ttf"
        "ProggySquare.ttf::https://github.com/bluescan/proggyfonts/raw/master/ProggyOriginal/ProggySquare.ttf"
        "ProggySquareSZ.ttf::https://github.com/bluescan/proggyfonts/raw/master/ProggyOriginal/ProggySquareSZ.ttf"
        "ProggyTiny.ttf::https://github.com/bluescan/proggyfonts/raw/master/ProggyOriginal/ProggyTiny.ttf"
        "ProggyTinySZ.ttf::https://github.com/bluescan/proggyfonts/raw/master/ProggyOriginal/ProggyTinySZ.ttf"
        "Progsole.bdf.zip::https://github.com/bluescan/proggyfonts/raw/master/Contributed/Progsole.bdf.zip"
        "SpeedyPCF.zip::https://github.com/bluescan/proggyfonts/raw/master/Contributed/SpeedyPCF.zip"
        "Opti.pcf.gz::https://github.com/bluescan/proggyfonts/raw/master/Contributed/Opti.pcf.gz"
        "OptiSmall.pcf.gz::https://github.com/bluescan/proggyfonts/raw/master/Contributed/OptiSmall.pcf.gz"
        "WebbyCaps.pcf.gz::https://github.com/bluescan/proggyfonts/raw/master/ProggyOriginal/WebbyCaps.pcf.gz"
        "WebbySmall.pcf.gz::https://github.com/bluescan/proggyfonts/raw/master/ProggyOriginal/WebbySmall.pcf.gz"
        "ProggyVector Regular.ttf::https://github.com/bluescan/proggyfonts/raw/master/ProggyVector/ProggyVector-Regular.ttf"
        "ProggyCrossed Regular.ttf::https://github.com/bluescan/proggyfonts/raw/master/ProggyCrossed/ProggyCrossed%20Regular.ttf"
        "ProggyDotted Regular.ttf::https://github.com/bluescan/proggyfonts/raw/master/ProggyDotted/ProggyDotted%20Regular.ttf")
noextract=('Opti.pcf.gz'
           'ProggyCleanCP.pcf.gz'
           'OptiSmall.pcf.gz'
           'WebbyCaps.pcf.gz'
           'WebbySmall.pcf.gz')
sha256sums=('d6642190eb289e690c0685a0d186e87234e268c29a8d176825b9e1df1316b5f0'
            'fe61d069df303c697e04200f5f8232c2cb09dd3572f4357b323469f7d592d142'
            'dc4a7dee5901205a62fdd2882aef5a151a4573df8046ccdd5487331522ac6030'
            'bb078c28383b33ba45d9d804b5e14129cd9898ba2492213d1550aa584167a5c8'
            '6977862535adfba326dc7d78daab749e97c2fabfc7c68d2f9210f209541e7b40'
            '527d2a443ce051f93f7e77b855609722b8cb220a9f104b4aa037be5c90b71324'
            '8bc6b1e74b766e16a169a5c4b372f2615f3d22423e7410cd5f97c6146b041472'
            '0d17680c44aafde944378517185b99934f415da6fd4aca0c0665fec1f7ce5d88'
            '35638c90ab8d355346d477305a026d829ddb63e5defe7a07ea44c4093cdef9f3'
            '1e05337a3a5a9b79a07d120c16a37e689304914344282af302400b56fee42c61'
            'fb225bb94459bae14eeff4a953f549e0312bb0d396d1794cacd9d1483db12cef'
            'dd06ddb2e2effb00a8df643c165743d0867ea5a1546c9b20dfd8d7bcce6240f8'
            '79bf8d3896ba83ae2f9c4fa214dce8fc689eae47950474947a4cc5c6e14a9bfc'
            '6ce838555836f1193c41af29c1d5ee7c9da3c3d3369cd3ae339848c9255ef607'
            'c6f2c19bcb8554a7a0135aa1ba29341c9c58519aa26a933b9463cef2fd6be294'
            'c76f4febe5bce846d3eabd0bc2932edf10b677078960148a4eb35cf5d9f98c57'
            '3ff812820cf61253a75e5fd990ef66f6069cce1b92ec536c51d40d8bc057108f'
            '88926010ab36cbc52ab66af56843b69cebb1ba475ffc2372d6e4d03559a130ee'
            'dccad12fbfca45fdccac745dc842919c29d880ca3fb260fb56b797bc76729012'
            'af782e04e31c75098ca5e97f4cfdae247d966278573b50fa575b6f8a73110e6a'
            'dae80a9b9bb23a37f60465dd93de9365a8ddd43300adc304d96f91ce54c28dd5'
            'd5fc9bb440a454db73a1f232b0f803a8ebefdd09713243505a75ecfec6a5ff44'
            '2ab1197f7ce92ec744dfdb492c179b95fc746cb562307286f88d6be364a7011e')

package() {
  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"
  install -m644 *.ttf    "$pkgdir/usr/share/fonts/TTF"

  install -D -m644  LICENSE \
                    "$pkgdir/usr/share/licenses/proggyfonts/LICENSE"
}