24 lines
856 B
Bash
24 lines
856 B
Bash
# Template file for 'font-iosevka'
|
|
pkgname=font-iosevka
|
|
version=2.0.0
|
|
revision=1
|
|
noarch=yes
|
|
create_wrksrc=yes
|
|
font_dirs="/usr/share/fonts/TTF"
|
|
hostmakedepends="unzip"
|
|
depends="font-util"
|
|
short_desc="Slender monospace sans-serif and slab-serif typeface"
|
|
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
|
license="OFL-1.1"
|
|
homepage="https://be5invis.github.io/Iosevka/"
|
|
distfiles="https://raw.githubusercontent.com/be5invis/Iosevka/v${version}/LICENSE.md
|
|
https://github.com/be5invis/Iosevka/releases/download/v${version}/ttc-iosevka-${version}.zip"
|
|
checksum="a7a0e1da98ab1bae99a1f246f45e51720e0cc13a53b4a5b0692f64991d2191af
|
|
683fa2db0f4e51363b613c51099a053f33bb7ca5b24d814a66260b247470128e"
|
|
skip_extraction="LICENSE.md"
|
|
|
|
do_install() {
|
|
vmkdir usr/share/fonts/TTF
|
|
vcopy *.ttc usr/share/fonts/TTF
|
|
vlicense ${XBPS_SRCDISTDIR}/${pkgname}-${version}/LICENSE.md
|
|
}
|