summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: aa6a7968899c18c1693e75ed3a5046659bf9e8fc (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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# Maintainer: Kostas Georgiadis <kot+aur@cons.gr>
# Contributor: GordonGR <ntheo1979@gmail.com>
# Contributor: Antonis G. <capoiosct at gmail dot com>
# Contributor: Apostolos Bessas <mpessas at gmail dot com>

pkgname=otf-gfs
pkgver=20230311
pkgrel=1
pkgdesc='Selection of open type fonts from the Greek Font Society.'
arch=(any)
url='http://www.greekfontsociety-gfs.gr'
license=('custom')
makedepends=('unzip')
depends=()

source=("http://www.greekfontsociety-gfs.gr/_assets/fonts/GFS_Artemisia.zip"
        "http://www.greekfontsociety-gfs.gr/_assets/fonts/GFS_Baskerville.zip"
        "http://www.greekfontsociety-gfs.gr/_assets/fonts/GFS_Bodoni.zip"
        "http://www.greekfontsociety-gfs.gr/_assets/fonts/GFS_Bodoni_Classic.zip"
        "http://www.greekfontsociety-gfs.gr/_assets/fonts/GFS_Complutum.zip"
        "http://www.greekfontsociety-gfs.gr/_assets/fonts/GFS_Decker.zip"
        "http://www.greekfontsociety-gfs.gr/_assets/fonts/GFS_Didot.zip"
        "http://www.greekfontsociety-gfs.gr/_assets/fonts/GFS_Didot_Classic.zip"
        "http://www.greekfontsociety-gfs.gr/_assets/fonts/GFS_Didot_Display.zip"
        "http://www.greekfontsociety-gfs.gr/_assets/fonts/GFS_Elpis.zip"
        "http://www.greekfontsociety-gfs.gr/_assets/fonts/GFS_Gazis.zip"
        "http://www.greekfontsociety-gfs.gr/_assets/fonts/GFS_Galatea.zip"
        "http://www.greekfontsociety-gfs.gr/_assets/fonts/GFS_Georgiou.zip"
        "http://www.greekfontsociety-gfs.gr/_assets/fonts/GFS_Goschen.zip"
        "http://www.greekfontsociety-gfs.gr/_assets/fonts/GFS_Heraklit.zip"
        "http://www.greekfontsociety-gfs.gr/_assets/fonts/GFS_NeoHellenic.zip"
        "http://www.greekfontsociety-gfs.gr/_assets/fonts/GFS_Olga.zip"
        "http://www.greekfontsociety-gfs.gr/_assets/fonts/GFS_Orpheus.zip"
        "http://www.greekfontsociety-gfs.gr/_assets/fonts/GFS_Orpheus_Classic.zip"
        "http://www.greekfontsociety-gfs.gr/_assets/fonts/GFS_Orpheus_Sans.zip"
        "http://www.greekfontsociety-gfs.gr/_assets/fonts/GFS_Philostratos.zip"
        "http://www.greekfontsociety-gfs.gr/_assets/fonts/GFS_Porson.zip"
        "http://www.greekfontsociety-gfs.gr/_assets/fonts/GFS_Pyrsos.zip"
        "http://www.greekfontsociety-gfs.gr/_assets/fonts/GFS_Solomos.zip"
        "http://www.greekfontsociety-gfs.gr/_assets/fonts/GFS_Theokritos.zip"
        "LICENSE")
noextract=(${source[@]##*/})

sha256sums=('2103bb72f11d0746e5e27445a79dfb4acacfe9d60caeb0e483c68d81a5a01c31'
            '130b8099d88e29d6b98fe1b98ee6f72677dbade05898782fdb5323cd8c704463'
            '6f97aa9684888433587be65d25bdb26345f791a87f8edfbf607e265a7c94b917'
            '7243a2192b663751f18aaa87348385e2945d75e4e7e111c651631331936754ed'
            '913b18fd5fe073a1dc03a2086dd8dea63f5d7d5bacffa27808cfd70ac467f19b'
            '77cef2fdf15dc3e4ca4b469e84a507f1ba1c0cbf4685d0662ae42c72e409664a'
            '866855b0296579451c233fc78bec82918996a8df7341ee2f1c09d7bc94440680'
            '5b01ef4783db75327fb90165a243e0bd467cc5329623d769f6a3aaec7b6cf80b'
            '7dfe83c5a0155f9c7764dce7493b45ba2f1358ce251f9c621387a3a252cd08a6'
            '213347a31a0a50f47dd740454407c87d6c83df570f103a5fb74a5418df0d5b18'
            '750ecb0310ee4e1cb62336a2f078be776b42cd8f7ddf62368351c3aedb0fefd9'
            'b20cbf4ff704f0741a9b89376e5c497392b23282eebacbfdab2502a861f16ac2'
            '8aaed378127252c095fd93abb18c697b82cfa8792bc31826e23157e119f33723'
            '2c255771b704cd2e57c6b2dc0133715195bb6a127373aca8bf79cbd6f7524959'
            '9d02c294c33aad58de44c408d20f5a7b06aefad411bce9f2e096a4040900f702'
            'ecdfcf5718ef20cd7979305a631a83922b4677822104d9f17126c3c9e91a8b91'
            '2e752e01e164cba7f0bebb30227cce93238308f443bfdf730ab5d622a568a4cc'
            '7bfe591a3d31d13edfe82f6ba968ad1b0fcd2ee5ecb579b9837181949679752c'
            '4cae1a7104be63627f04184e690514ca4371dc4e9ab2026694e03a44388b577a'
            '9c03383219868c0ca2aabcdd3e0bb8b22e942ccf03f3221cd8270dbaaf54bb92'
            '1dd960fc9500213ed8ee780aad17aa1edecc3e595339d32017038fa324881232'
            '34a3f89b467e9ef5f79090a57da383f989fd021d09443dae0acba1a80a277401'
            '5bbec9dd9ac209ae213657a459c460763733e5928751ec0d91b2c2a89dc7ca7d'
            '2c824e6919bf3fbfd097b088f1b3e7fd3bc903360d80169b82b7ecf595160b39'
            '48af93600d59c545db960e707291ce325d0fce551dedc6d2c3ffea14cec5edfc'
            'e564f06d018e7b95bc3594c96a17f1d41865af4038c375e7aa974dd69df38602')

package() {
cd "$srcdir"
_xlist="__MACOSX/* .OFL-FAQ.txt OFL-FAQ.txt OFL.txt"
unzip GFS_Artemisia.zip -x ${_xlist}
unzip GFS_Baskerville.zip -x ${_xlist}
unzip GFS_Bodoni.zip -x ${_xlist}
unzip GFS_Bodoni_Classic.zip -x ${_xlist}
unzip GFS_Complutum.zip -x ${_xlist}
unzip GFS_Decker.zip -x ${_xlist}
unzip GFS_Didot.zip -x ${_xlist}
unzip GFS_Didot_Classic.zip -x ${_xlist}
unzip GFS_Didot_Display.zip -x ${_xlist}
unzip GFS_Elpis.zip -x ${_xlist}
unzip GFS_Gazis.zip -x ${_xlist}
unzip GFS_Galatea.zip -x ${_xlist}
unzip GFS_Georgiou.zip -x ${_xlist}
unzip GFS_Goschen.zip -x ${_xlist}
unzip GFS_Heraklit.zip -x ${_xlist}
unzip GFS_NeoHellenic.zip -x ${_xlist}
unzip GFS_Olga.zip -x ${_xlist}
unzip GFS_Orpheus.zip -x ${_xlist}
unzip GFS_Orpheus_Classic.zip -x ${_xlist}
unzip GFS_Orpheus_Sans.zip -x ${_xlist}
unzip GFS_Philostratos.zip -x ${_xlist}
unzip GFS_Porson.zip -x ${_xlist}
unzip GFS_Pyrsos.zip -x ${_xlist}
unzip GFS_Solomos.zip -x ${_xlist}
unzip GFS_Theokritos.zip -x ${_xlist}

install -d $pkgdir/usr/share/fonts/$pkgname/
install -Dm644 $srcdir/GFS*/*otf $pkgdir/usr/share/fonts/$pkgname/
install -Dm644 $srcdir/*otf $pkgdir/usr/share/fonts/$pkgname/
install -d $pkgdir/usr/share/licenses/$pkgname/
install -Dm644 $srcdir/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}