archlinux/repo/otf-openmoji/PKGBUILD
2024-07-18 08:50:49 +00:00

21 lines
737 B
Bash

# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Gimo <self@gimo.me>
# Contributor: Xiufeng Guo <i@m.ac>
pkgname=otf-openmoji
pkgver=15.0
pkgrel=1
pkgdesc="Open source emojis for designers, developers and everyone else!"
arch=(any)
url="https://openmoji.org/"
license=(CCPL:by-sa)
depends=(fontconfig)
source=($pkgname-$pkgver.zip::"https://storage.m.ac/mirrors/github-release/hfg-gmuend/openmoji/OpenMoji%20$pkgver/openmoji-font.zip")
sha256sums=('9c157abb27203a3e2f13d5e000c8773015e3e373d3da3c263c1ed917cacbb6de')
package() {
mkdir -p "$pkgdir/usr/share/fonts/openmoji"
install -m644 OpenMoji-Black.ttf "$pkgdir/usr/share/fonts/openmoji"
install -m644 OpenMoji-Color.ttf "$pkgdir/usr/share/fonts/openmoji"
}