core/ttf-noto/PKGBUILD

34 lines
898 B
Bash
Raw Normal View History

2014-07-16 17:23:12 +08:00
# Maintainer: wengxt <wengxt at gmail dot com>
pkgbase=ttf-noto
pkgname=('ttf-noto' 'otf-noto')
pkgver=20140813
2014-07-16 17:23:12 +08:00
pkgrel=1
pkgdesc="Fonts support all languages/characters in Unicode"
arch=('any')
url="http://www.google.com/get/noto"
license=('apache')
depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils')
makedepends=()
conflicts=()
provides=('ttf-font')
source=("http://www.google.com/get/noto/pkgs/Noto-hinted.zip")
md5sums=('e72d000d9e90729a6caceff7afaf1f45')
install=$pkgname.install
package_ttf-noto() {
2014-07-16 17:23:12 +08:00
for file in *.ttf
do
install -Dm644 $file $pkgdir/usr/share/fonts/TTF/$file
done
install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}
package_otf-noto() {
2014-07-16 17:23:12 +08:00
for file in *.otf
do
install -Dm644 $file $pkgdir/usr/share/fonts/OTF/$file
done
install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
2014-07-16 17:23:12 +08:00
}