mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-12 02:04:37 +08:00
44 lines
1.0 KiB
Bash
44 lines
1.0 KiB
Bash
pkgbase=ttf-noto
|
|
pkgname=('ttf-noto' 'otf-noto-cjk' 'ttf-noto-emoji')
|
|
pkgver=20170406
|
|
pkgrel=1
|
|
arch=('any')
|
|
url="http://www.google.com/get/noto"
|
|
license=('apache')
|
|
depends=(fontconfig)
|
|
makedepends=()
|
|
source=("http://storage.googleapis.com/noto-website/pkgs/Noto-hinted.zip")
|
|
md5sums=('59ba4db1e832db3c241db1cb224a0087')
|
|
install=${pkgname}.install
|
|
|
|
pkgver() {
|
|
date +%Y%m%d
|
|
}
|
|
|
|
prepare() {
|
|
mkdir ${srcdir}/emoji
|
|
mv *Emoji* emoji
|
|
}
|
|
|
|
package_ttf-noto() {
|
|
pkgdesc="Google Noto TTF fonts"
|
|
provides=('ttf-font')
|
|
|
|
install -dm755 "$pkgdir"/usr/share/fonts/TTF
|
|
install -m644 *.ttf "$pkgdir"/usr/share/fonts/TTF
|
|
}
|
|
|
|
package_otf-noto-cjk() {
|
|
pkgdesc="Google Noto CJK OTF fonts"
|
|
provides=('otf-noto')
|
|
replaces=('otf-noto')
|
|
install -dm755 "$pkgdir"/usr/share/fonts/OTF
|
|
install -m644 *.otf "$pkgdir"/usr/share/fonts/OTF
|
|
}
|
|
|
|
package_ttf-noto-emoji() {
|
|
pkgdesc="Google Noto Emoji TTF fonts"
|
|
install -dm755 "$pkgdir"/usr/share/fonts/TTF
|
|
install -m644 ${srcdir}/emoji/*.ttf "$pkgdir"/usr/share/fonts/TTF
|
|
}
|