upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / ttf-droid / trunk / PKGBUILD
blob2b149c58fc46fa73bcb1635e80db4daaeb5e7931
1 # Contributor: Jelle van der Waa <jelle@vdwaa.nl>
2 # Contributor: Urs Wolfer <uwolfer @ fwo.ch>
4 pkgname=ttf-droid
5 pkgver=20121017
6 pkgrel=10
7 pkgdesc="General-purpose fonts released by Google as part of Android"
8 arch=('any')
9 license=('Apache')
10 url='https://www.droidfonts.com/'
11 provides=('ttf-font')
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')
20 package() {
21   # Install fonts
22   install -Dt "$pkgdir/usr/share/fonts/${pkgname#ttf-}" -m644 \
23     google-droid-fonts-$pkgver/*.ttf
25   # Install fontconfig
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/*
32 # vim:set sw=2 et: