aboutsummaryrefslogtreecommitdiffstats
path: root/community/ttf-roboto/APKBUILD
blob: e5a3a64332bddd02f4b7df4bd35ba4b3355671f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=ttf-roboto
pkgver=2.138
pkgrel=0
pkgdesc="The Roboto family of fonts"
options="!check" # No testsuite
url="https://github.com/google/roboto"
arch="noarch"
depends="fontconfig"
license="Apache-2.0"
source="$pkgname-$pkgver.tar.gz::https://github.com/google/roboto/archive/v$pkgver.tar.gz"
builddir="$srcdir/roboto-$pkgver"

package() {
	install -d "$pkgdir"/usr/share/fonts/TTF
	find . -type f -name '*.ttf' | while read -r font; do
		install -Dm644 "$font" -t "$pkgdir"/usr/share/fonts/TTF
	done
}

sha512sums="f4bec4bd76745a625a946c98d52222d49e93e5480d9f25913ec2456dbd9252a07e4864eba98a8bb6ca724994fd82e7c8d91384ea315d028703e9a0e0b1df1446  ttf-roboto-2.138.tar.gz"