archlinux/repo/otf-openmoji/PKGBUILD

21 lines
737 B
Bash
Raw Normal View History

2022-07-07 01:48:42 +00:00
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Gimo <self@gimo.me>
# Contributor: Xiufeng Guo <i@m.ac>
pkgname=otf-openmoji
pkgver=14.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=('7e8d72de29216cd7b0f889dd82982baf2f2f11842ab8018ecac88bb43a109585')
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"
}