diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..83a13eefa249 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Packager: William Chen <edoc.www@gmail.com> +# Maintainer: William Chen <edoc.www@gmail.com> + +pkgname=nerd-fonts-tinos +pkgver=2.1.0 +pkgrel=1 +pkgdesc="Patched font Tinos from Nerd Fonts Library" +arch=("any") +url="https://github.com/ryanoasis/nerd-fonts" +license=('MIT') +depends=('fontconfig') +provides=("${pkgname}") +conflicts=('nerd-fonts-git' 'nerd-fonts-complete') +groups=("nerd-fonts") +source=("https://github.com/ryanoasis/nerd-fonts/releases/download/v$pkgver/Tinos.zip" + "https://github.com/ryanoasis/nerd-fonts/raw/v$pkgver/LICENSE") +sha1sums=(SKIP + SKIP) + +package() { + find . -iname "*.otf" -not -iname "*Windows Compatible.otf" -execdir install -Dm644 {} "$pkgdir/usr/share/fonts/OTF/{}" \; + find . -iname "*.ttf" -not -iname "*Windows Compatible.ttf" -execdir install -Dm644 {} "$pkgdir/usr/share/fonts/TTF/{}" \; + + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} + |