blob: 9546835ea75258645dad50b9a5ba8b8dace589f8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=font-noto
pkgver=0_git20161104
pkgrel=0
pkgdesc="Google's font family that aims to support all the world's languages"
url="https://github.com/googlei18n/noto-fonts/"
arch="noarch"
license="OFL-1.1"
depends="fontconfig"
makedepends=""
install=""
subpackages="font-croscore:croscore"
source="http://dev.alpinelinux.org/archive/$pkgname/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/font-noto-$pkgver"
giturl="https://github.com/googlei18n/noto-fonts.git"
disturl="dev.alpinelinux.org:/archive/$pkgname"
build() {
cd "$builddir"
}
package() {
cd "$builddir"
mkdir -p "$pkgdir"/usr/share/fonts/noto
install -m644 hinted/Noto*.ttf \
"$pkgdir"/usr/share/fonts/noto || return 1
}
croscore() {
pkgdesc="Chrome OS core fonts"
mkdir -p "$subpkgdir"/usr/share/fonts/croscore
cd "$builddir"/hinted
install -m644 Arimo*.ttf Cousine*.ttf Tinos*.ttf \
"$subpkgdir"/usr/share/fonts/croscore || return 1
}
md5sums="8cedf79d3c0dc36cd8a36e4b7d2f125f font-noto-0_git20161104.tar.gz"
sha256sums="f28c7519b8970fa3a3367be9d40540ba7cf565a6ec5f7d38de3da9531768b634 font-noto-0_git20161104.tar.gz"
sha512sums="24e2c67f346879aa8bed0fb89611e35108fde9abcdab6d00f0dc5f8056730a97eaad9d7d306caf95be690ab12022997006595d492eee2e55232f85b919d6f242 font-noto-0_git20161104.tar.gz"
|