summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4dbd3d341fd5e8d20af8489867c3da00a23193b9 (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
# Maintainer: Tyler Swagar <buttpickle69@shaw.ca>

pkgname=ttf-merriweather
pkgver=2.000
pkgrel=1
pkgdesc='A typeface that is pleasant to read on screens by Sorkin Type Co'
arch=('any')
url='https://fonts.google.com/specimen/Merriweather'
license=('custom:SIL Open Font License v1.1')
depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils')
conflicts=('ttf-google-fonts-git' 'ttf-google-fonts-opinionated-git' 'ttf-merriweather-ib')
install="${pkgname}.install"
source=('https://github.com/google/fonts/raw/master/ofl/merriweather/Merriweather-Black.ttf'
        'https://github.com/google/fonts/raw/master/ofl/merriweather/Merriweather-BlackItalic.ttf'
        'https://github.com/google/fonts/raw/master/ofl/merriweather/Merriweather-Bold.ttf'
        'https://github.com/google/fonts/raw/master/ofl/merriweather/Merriweather-BoldItalic.ttf'
        'https://github.com/google/fonts/raw/master/ofl/merriweather/Merriweather-Italic.ttf'
        'https://github.com/google/fonts/raw/master/ofl/merriweather/Merriweather-Light.ttf'
        'https://github.com/google/fonts/raw/master/ofl/merriweather/Merriweather-LightItalic.ttf'
        'https://github.com/google/fonts/raw/master/ofl/merriweather/Merriweather-Regular.ttf'
        'https://github.com/google/fonts/raw/master/ofl/merriweather/OFL.txt')
sha256sums=('5350971f435ee4799fbd96e8d4208c177cf468f13e52a5bafabca8933890712b'
            'c1b73033f0356ecd5362796b391a50c9683bd6bb826429e33b4288dee29636c6'
            '3b8c53954df2c0b0f47c417cb577423249da5f9cd21fd0e34e403ee0e6ec3eea'
            '0025097606d3ae5a85abddec77539cb9d55397a2cb2e88ea95c479ea12101288'
            'e7eea495c8745af73e03b7973f5002006860a991a2c2f213bf690a2276972d01'
            '0ff2d78185d096bed3098a171f887b678caab9b143cd81f472c0074dd57a365f'
            '8321208fe77f710d3f7429ba5a7c4873bd9374a361ca8d758a9ff4869aa412c1'
            'f593e9a01036386e34386e9dbec0824544e591569df649f19c9a8817f6227926'
            'SKIP')

package() {
  install -dm 755 "${pkgdir}/usr/share/fonts/TTF"
  install -m 644 *.ttf "${pkgdir}/usr/share/fonts/TTF/"
  install -Dm644 *.txt "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
}