summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5dda74b16926cbf76517a0c158e9544b0405ef69 (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
# Maintainer: Markus Weimar <mail@markusweimar.de>
pkgname=ttf-roboto-slab
pkgver=2.000
pkgrel=2
epoch=3
pkgdesc='Roboto Slab is a slab serif addition to the Roboto type family.'
arch=('any')
url='https://www.google.com/fonts/specimen/Roboto+Slab'
license=('Apache')
source=("${pkgname}-${pkgver}-${pkgrel}-LICENSE.txt::https://raw.github.com/googlefonts/robotoslab/master/LICENSE.txt"
        "${pkgname}-${pkgver}-${pkgrel}-RobotoSlab-Black.ttf::https://raw.github.com/googlefonts/robotoslab/master/fonts/static/RobotoSlab-Black.ttf"
        "${pkgname}-${pkgver}-${pkgrel}-RobotoSlab-Bold.ttf::https://raw.github.com/googlefonts/robotoslab/master/fonts/static/RobotoSlab-Bold.ttf"
        "${pkgname}-${pkgver}-${pkgrel}-RobotoSlab-Light.ttf::https://raw.github.com/googlefonts/robotoslab/master/fonts/static/RobotoSlab-Light.ttf"
        "${pkgname}-${pkgver}-${pkgrel}-RobotoSlab-Medium.ttf::https://raw.github.com/googlefonts/robotoslab/master/fonts/static/RobotoSlab-Medium.ttf"
        "${pkgname}-${pkgver}-${pkgrel}-RobotoSlab-Regular.ttf::https://raw.github.com/googlefonts/robotoslab/master/fonts/static/RobotoSlab-Regular.ttf"
        "${pkgname}-${pkgver}-${pkgrel}-RobotoSlab-Thin.ttf::https://raw.github.com/googlefonts/robotoslab/master/fonts/static/RobotoSlab-Thin.ttf")
sha256sums=('cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30'
            '172898e1a22637d860677618081ec2ff4d9aa324f45e3d6e873e64656c9e1c07'
            'a46eca66ae13b1774b25b23315900b3e30fa32efd6684fe46aff22d333f78ebb'
            '02d9f4a0ea88810ba77ee624db42494348325980f7a5d1f50b66852e22920ca5'
            'cb9cd096bd1981fc02fdb1dd639ca59184c0621c7fdccad038047c9fa9409e18'
            'ace53f5b158b80dbf2539696b0f448975d95c1a48f8b30d494e2d45923e4ae23'
            '8db8b4095e4a76b5368b51276802a4ba33664c4908526996d83c87ffa22da4b4')

package() {
    install -d ${pkgdir}/usr/share/fonts/${pkgname}/
    for font in ${srcdir}/*.ttf; do
        install -m644 $font ${pkgdir}/usr/share/fonts/${pkgname}/${font/${srcdir}\/${pkgname}-${pkgver}-${pkgrel}-/}
    done
    install -D -m644 ${srcdir}/${pkgname}-${pkgver}-${pkgrel}-LICENSE.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt
}