24 lines
854 B
Bash
24 lines
854 B
Bash
# Template file for 'font-iosevka'
|
|
pkgname=font-iosevka
|
|
version=2.0.1
|
|
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
|
|
1779df346353305878aae87b24ab49cb55d259949e8e906bf7667746422a3aae"
|
|
skip_extraction=LICENSE.md
|
|
|
|
do_install() {
|
|
vmkdir usr/share/fonts/TTF
|
|
vcopy *.ttc usr/share/fonts/TTF
|
|
vlicense ${XBPS_SRCDISTDIR}/${pkgname}-${version}/LICENSE.md
|
|
}
|