diff options
author | Markus Weimar | 2020-02-02 11:34:46 +0100 |
---|---|---|
committer | Markus Weimar | 2020-02-02 11:34:46 +0100 |
commit | 22096c6819f35fac5e9599da887828627463ef7d (patch) | |
tree | 9d1455122704b3ac7e2a964bcde7d52e8322edb2 | |
parent | 6b6459c72e5800b59ae54775c4185aec9ce6de65 (diff) | |
download | aur-22096c6819f35fac5e9599da887828627463ef7d.tar.gz |
Add font weights. Prevent checksum issues.
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 24 insertions, 17 deletions
@@ -1,21 +1,23 @@ pkgbase = ttf-roboto-slab pkgdesc = Roboto Slab is a slab serif addition to the Roboto type family. pkgver = 2.000 - pkgrel = 1 + pkgrel = 2 epoch = 3 url = https://www.google.com/fonts/specimen/Roboto+Slab arch = any license = Apache - depends = fontconfig - depends = xorg-font-utils - source = https://raw.github.com/googlefonts/robotoslab/master/LICENSE.txt - source = https://raw.github.com/googlefonts/robotoslab/master/fonts/static/RobotoSlab-Bold.ttf - source = https://raw.github.com/googlefonts/robotoslab/master/fonts/static/RobotoSlab-Light.ttf - source = https://raw.github.com/googlefonts/robotoslab/master/fonts/static/RobotoSlab-Regular.ttf - source = https://raw.github.com/googlefonts/robotoslab/master/fonts/static/RobotoSlab-Thin.ttf + source = ttf-roboto-slab-2.000-2-LICENSE.txt::https://raw.github.com/googlefonts/robotoslab/master/LICENSE.txt + source = ttf-roboto-slab-2.000-2-RobotoSlab-Black.ttf::https://raw.github.com/googlefonts/robotoslab/master/fonts/static/RobotoSlab-Black.ttf + source = ttf-roboto-slab-2.000-2-RobotoSlab-Bold.ttf::https://raw.github.com/googlefonts/robotoslab/master/fonts/static/RobotoSlab-Bold.ttf + source = ttf-roboto-slab-2.000-2-RobotoSlab-Light.ttf::https://raw.github.com/googlefonts/robotoslab/master/fonts/static/RobotoSlab-Light.ttf + source = ttf-roboto-slab-2.000-2-RobotoSlab-Medium.ttf::https://raw.github.com/googlefonts/robotoslab/master/fonts/static/RobotoSlab-Medium.ttf + source = ttf-roboto-slab-2.000-2-RobotoSlab-Regular.ttf::https://raw.github.com/googlefonts/robotoslab/master/fonts/static/RobotoSlab-Regular.ttf + source = ttf-roboto-slab-2.000-2-RobotoSlab-Thin.ttf::https://raw.github.com/googlefonts/robotoslab/master/fonts/static/RobotoSlab-Thin.ttf sha256sums = cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 + sha256sums = 172898e1a22637d860677618081ec2ff4d9aa324f45e3d6e873e64656c9e1c07 sha256sums = a46eca66ae13b1774b25b23315900b3e30fa32efd6684fe46aff22d333f78ebb sha256sums = 02d9f4a0ea88810ba77ee624db42494348325980f7a5d1f50b66852e22920ca5 + sha256sums = cb9cd096bd1981fc02fdb1dd639ca59184c0621c7fdccad038047c9fa9409e18 sha256sums = ace53f5b158b80dbf2539696b0f448975d95c1a48f8b30d494e2d45923e4ae23 sha256sums = 8db8b4095e4a76b5368b51276802a4ba33664c4908526996d83c87ffa22da4b4 @@ -1,26 +1,31 @@ # Maintainer: Markus Weimar <mail@markusweimar.de> pkgname=ttf-roboto-slab pkgver=2.000 -pkgrel=1 +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') -depends=('fontconfig' 'xorg-font-utils') -source=('https://raw.github.com/googlefonts/robotoslab/master/LICENSE.txt' - 'https://raw.github.com/googlefonts/robotoslab/master/fonts/static/RobotoSlab-Bold.ttf' - 'https://raw.github.com/googlefonts/robotoslab/master/fonts/static/RobotoSlab-Light.ttf' - 'https://raw.github.com/googlefonts/robotoslab/master/fonts/static/RobotoSlab-Regular.ttf' - 'https://raw.github.com/googlefonts/robotoslab/master/fonts/static/RobotoSlab-Thin.ttf') +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}/ - install -m644 ${srcdir}/*.ttf ${pkgdir}/usr/share/fonts/${pkgname}/ - install -D -m644 ${srcdir}/LICENSE.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt + 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 } |