20 lines
693 B
Bash
20 lines
693 B
Bash
# Template file for 'ttf-opensans'
|
|
pkgname=ttf-opensans
|
|
version=3.001
|
|
revision=1
|
|
_githash=ebedbda589fe5bd861b02325aca98c86ad845251
|
|
wrksrc="opensans-${_githash}"
|
|
depends="font-util"
|
|
short_desc="Clean and modern sans-serif typeface"
|
|
maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@pm.me>"
|
|
license="Apache-2.0"
|
|
homepage="https://fonts.google.com/specimen/Open+Sans"
|
|
distfiles="https://github.com/googlefonts/opensans/archive/${_githash}.tar.gz"
|
|
checksum=cdc1ba1f82c7a130a2c6a9def519528ec936baad08e0188bf8dc90a0718ca7f5
|
|
font_dirs="/usr/share/fonts/TTF"
|
|
|
|
do_install() {
|
|
vmkdir usr/share/fonts/TTF
|
|
find fonts/ttf/ -type f -name '*.ttf' -exec install -Dm644 '{}' ${DESTDIR}/usr/share/fonts/TTF \;
|
|
}
|