/
PKGBUILD
40 lines (31 loc) · 1.54 KB
/
PKGBUILD
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
pkgbase=noto-fonts
pkgname=('noto-fonts' 'noto-fonts-otf')
pkgver=24.5.1
pkgrel=1
epoch=1
arch=('x86_64')
pkgdesc="Font family by Google which aims to support all languages with a harmonious look and feel."
license=('SIL Open Font License (OFL)')
url="https://fonts.google.com/noto"
makedepends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils')
#source=("https://noto-website-2.storage.googleapis.com/pkgs/NotoSans-hinted.zip")
source=("https://github.com/notofonts/notofonts.github.io/archive/refs/tags/noto-monthly-release-${pkgver}.tar.gz")
md5sums=('809844608ef28a17c661952b7ec8f1c3')
package_noto-fonts() {
pkgdesc="Font family by Google which aims to support all languages with a harmonious look and feel."
depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils')
install=noto-fonts.install
cd notofonts.github.io-noto-monthly-release-${pkgver}
install -d ${pkgdir}/usr/share/fonts/TTF
install -m0644 fonts/NotoSans/hinted/ttf/*.ttf ${pkgdir}/usr/share/fonts/TTF/
install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
package_noto-fonts-otf() {
pkgdesc="Google developed font family which aims to support all languages with a harmonious look and feel, OTF fonts "
depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils')
install=noto-fonts-otf.install
cd notofonts.github.io-noto-monthly-release-${pkgver}
install -d $pkgdir/usr/share/fonts/OTF
install -m0644 fonts/NotoSans/unhinted/otf/*.otf ${pkgdir}/usr/share/fonts/OTF/
install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}