summaryrefslogblamecommitdiff
path: root/user/ttf-noto/APKBUILD
blob: d960c53edf4511667c80a4e0d5d01c2bedaac0ad (plain) (tree)
1
2
3
4
5


                                                     
        

















                                                                                               
                  
         
                      

           


                                                                







                                                                                                                                                                  
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=ttf-noto
pkgver=20160531
pkgrel=1
pkgdesc="Noto font family"
url="http://www.google.com/get/noto/"
arch="noarch"
license="Apache"
options="!check"  # how do you test a font?
depends="fontconfig"
depends_dev=""
makedepends="$depends_dev"
install=""
# added fontconfig configuration from:
# https://github.com/bohoomil/fontconfig-ultimate/tree/master/fontconfig_patches/fonts-settings
source="https://dev.gentoo.org/~floppym/dist/noto-$pkgver.tar.xz
	40-noto-arabic.conf
	45-noto-sans.conf
	45-noto-serif.conf
	90-non-tt-noto-sans-cjk.conf
	90-tt-noto-sans.conf
	90-tt-noto-serif.conf"

builddir="$srcdir"

build() {
	cd "$builddir"
}

package() {
	mkdir -p "$pkgdir"/usr/share/fonts/truetype/
	mkdir -p "$pkgdir"/etc/fonts/conf.d/
	cp "$builddir"/*.ttf "$pkgdir"/usr/share/fonts/truetype/
	cp "$builddir"/*.conf "$pkgdir"/etc/fonts/conf.d/
}

sha512sums="7114cd150d83747574f7177cc230c2e665d39aa934d6ef41224343ea7b8612e6b9d77ca5938eb9c815849a2908f035a0824e4e9153d7f44055f4947bf9fc1580  noto-20160531.tar.xz
47396e7a4e5dfb38d3df6dff0b4584757cc132f393d3410463eefc3dbb5f2af592a6b07a4c098d8c594be03f23e4eb84b76b672245fe0cea816927cf535ea270  40-noto-arabic.conf
748dfecbc3ad5c3750764e6ae889bbc4e614885237bb91ece138d2dc5014fd41ea6361b32982cfa4e76c7c092e0b93f90cccd0b92acbd408b7c302c44c1523e6  45-noto-sans.conf
5059295a1c36c4ec4aae61443221ee74876315127895da0773e4feb77e70cfc4b7923dde8f6510d6cf9de019082e15f1f4fd4b53f0bce4d2a681541f2de587df  45-noto-serif.conf
7cf1ec09d6226c46ff7bd796ff526aa42b7221eeb8a2e171e7dbab837fceb96a03b9c5d7bd6e88dbee97cdf54e443d940590b6be51478b88ebca19a419831080  90-non-tt-noto-sans-cjk.conf
e5d252e4ee265f9cc7a91eea0e0f8c74315a60cbce606860e0f9e722eb9331f8d87d541dd715bef46bdb4e637bab0344f2fd98cc0424e7cfa17e588efa07eb33  90-tt-noto-sans.conf
4f8760f7eeae99050a3b8ac73f4eeeb5ad32e9e5224034292e3ecdc260ffcc92f3ae45aa35e9f86905fce4ff909bb3263e25d8f4fe56dacba2fb3de2107e314f  90-tt-noto-serif.conf"