1 # Contributor: Jelle van der Waa <jelle@vdwaa.nl>
2 # Contributor: Urs Wolfer <uwolfer @ fwo.ch>
7 pkgdesc="General-purpose fonts released by Google as part of Android"
10 url='https://www.droidfonts.com/'
12 source=("https://sources.archlinux.org/other/community/$pkgname/$pkgname-$pkgver.tar.xz"
13 65-droid-{kufi,sans,sans-mono,serif}.conf)
14 sha256sums=('f068efec9e8201fe0d1be75b1a4751c98d14dc44267b2237f549403b2a8069e3'
15 'fc208932ae52bc678415b66b2fa958d24d6100f2d9609d5564c611b3c53b38c7'
16 '93a0dc8e3258be4fafa68df120add114018bb723af7c0d61b60c6d908fcd87b2'
17 '42da7d1ac6d7055971c8b1bb98a83e893fbed621534b04247a5f6ed89ca14d44'
18 '311c79e55fc58e83f066377393e59865518dcbe09b51e5fe3459b69fbac3b6af')
22 install -Dt "$pkgdir/usr/share/fonts/${pkgname#ttf-}" -m644 \
23 google-droid-fonts-$pkgver/*.ttf
26 local fcdir="$pkgdir/usr/share/fontconfig"
27 install -Dt "$fcdir/conf.avail" -m644 *.conf
28 mkdir -p "$fcdir/conf.default"
29 ln -srt "$fcdir/conf.default" "$fcdir"/conf.avail/*