noto-fonts-emoji-legacy: Add PKGBUILD
This commit is contained in:
parent
fe2e68c78d
commit
bdfc106865
|
@ -0,0 +1,5 @@
|
|||
*
|
||||
!.gitignore
|
||||
!PKGBUILD
|
||||
!66-noto-emoji.conf
|
||||
!66-noto-color-emoji.conf
|
|
@ -0,0 +1,35 @@
|
|||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
<match target="scan">
|
||||
<test name="family">
|
||||
<string>Noto Color Emoji</string>
|
||||
</test>
|
||||
<edit name="scalable" mode="assign">
|
||||
<bool>true</bool>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
<!-- Add emoji generic family -->
|
||||
<alias binding="strong">
|
||||
<family>emoji</family>
|
||||
<default><family>Noto Color Emoji</family></default>
|
||||
</alias>
|
||||
|
||||
<!-- Alias requests for the other emoji fonts -->
|
||||
<alias binding="strong">
|
||||
<family>Apple Color Emoji</family>
|
||||
<prefer><family>Noto Color Emoji</family></prefer>
|
||||
<default><family>sans-serif</family></default>
|
||||
</alias>
|
||||
<alias binding="strong">
|
||||
<family>Segoe UI Emoji</family>
|
||||
<prefer><family>Noto Color Emoji</family></prefer>
|
||||
<default><family>sans-serif</family></default>
|
||||
</alias>
|
||||
<alias binding="strong">
|
||||
<family>EmojiOne Color</family>
|
||||
<prefer><family>Noto Color Emoji</family></prefer>
|
||||
<default><family>sans-serif</family></default>
|
||||
</alias>
|
||||
</fontconfig>
|
|
@ -0,0 +1,18 @@
|
|||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
<match target="scan">
|
||||
<test name="family">
|
||||
<string>Noto Emoji</string>
|
||||
</test>
|
||||
<edit name="scalable" mode="assign">
|
||||
<bool>true</bool>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
<!-- Add emoji generic family -->
|
||||
<alias binding="strong">
|
||||
<family>emoji</family>
|
||||
<default><family>Noto Emoji</family></default>
|
||||
</alias>
|
||||
</fontconfig>
|
|
@ -0,0 +1,31 @@
|
|||
# Maintainer: Les De Ridder <les@lesderid.net>
|
||||
|
||||
|
||||
pkgname=noto-fonts-emoji-legacy
|
||||
_pkgver=2017-07-17
|
||||
_commit=e456654119cc3a5f9bebb7bbd00512456f983d2d
|
||||
pkgver=${_pkgver//-}
|
||||
pkgrel=1
|
||||
pkgdesc="Google Noto emoji fonts (legacy version)"
|
||||
arch=(any)
|
||||
url="https://www.google.com/get/noto/"
|
||||
license=(custom:OFL)
|
||||
depends=(fontconfig)
|
||||
provides=(noto-fonts-emoji)
|
||||
conflicts=(noto-fonts-emoji)
|
||||
source=($pkgname-$pkgver.zip::"https://github.com/lesderid/noto-emoji/archive/$_commit.zip"
|
||||
66-noto-color-emoji.conf 66-noto-emoji.conf)
|
||||
sha256sums=('d44043a0af466fdcb3b87e56a1eef40dc1935eeeb919779ef873298d5fd6b6ab'
|
||||
'5df9fbf693abe3ba663362375d0e02c17345860c54809166be2c22c4e83fc567'
|
||||
'ba85f8cdeec0fb505848ec18ef94ccf31aff9ad4690f0c7bcd12098d9df187f4')
|
||||
|
||||
package() {
|
||||
cd noto-emoji-*
|
||||
mkdir -p "$pkgdir"/usr/share/fonts/noto
|
||||
install -m644 fonts/*.ttf "$pkgdir"/usr/share/fonts/noto
|
||||
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
||||
|
||||
# Install fontconfig files
|
||||
mkdir -p "$pkgdir"/etc/fonts/conf.avail
|
||||
install -m644 "$srcdir"/*.conf "$pkgdir"/etc/fonts/conf.avail/
|
||||
}
|
Loading…
Reference in New Issue