summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ee5cc09137a614ba708e2970e8530aae32b1463e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: timescam <rex.ky.ng at gmail dot com>

pkgname=noto-fonts-emoji-apple
_pkgname=noto-fonts-emoji
pkgver=13.2
pkgrel=2
pkgdesc="Google Noto emoji fonts replaced with apple branded emoji, modified form a magisk module"
arch=(any)
url="https://gitlab.com/timescam/noto-fonts-emoji-apple"
provides=(emoji-font)
conflicts=(noto-fonts-emoji)
source=("$_pkgname::git+https://gitlab.com/timescam/noto-fonts-emoji-apple.git")
md5sums=("SKIP")

package() {
  mkdir -p "$pkgdir"/usr/share/fonts/noto
  install -m644 "$srcdir/$_pkgname/NotoColorEmoji.ttf" "$pkgdir"/usr/share/fonts/noto

# Install fontconfig files
  mkdir -p "$pkgdir"/etc/fonts/conf.{avail,d}
  install -m644 "$srcdir"/$_pkgname/66-noto-color-emoji.conf -t "$pkgdir"/etc/fonts/conf.avail/
  ln -rs "$pkgdir"/etc/fonts/conf.avail/* "$pkgdir"/etc/fonts/conf.d
}