2018-09-21 19:50:46 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://dejavu-fonts.github.io/
|
|
|
|
TERMUX_PKG_DESCRIPTION="Font family based on the Bitstream Vera Fonts with a wider range of characters"
|
2019-01-21 17:50:21 +01:00
|
|
|
TERMUX_PKG_LICENSE="MIT"
|
2019-05-17 00:18:48 +02:00
|
|
|
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com>"
|
2018-09-21 19:50:46 +02:00
|
|
|
TERMUX_PKG_VERSION=2.37
|
2019-05-25 19:17:07 +02:00
|
|
|
TERMUX_PKG_REVISION=2
|
2018-09-21 19:50:46 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/project/dejavu/dejavu/${TERMUX_PKG_VERSION}/dejavu-fonts-ttf-${TERMUX_PKG_VERSION}.tar.bz2
|
|
|
|
TERMUX_PKG_SHA256=fa9ca4d13871dd122f61258a80d01751d603b4d3ee14095d65453b4e846e17d7
|
2018-09-21 21:45:46 +02:00
|
|
|
TERMUX_PKG_PLATFORM_INDEPENDENT=true
|
2018-09-21 19:50:46 +02:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
|
|
|
|
TERMUX_PKG_CONFFILES="
|
|
|
|
etc/fonts/conf.d/20-unhint-small-dejavu-sans-mono.conf
|
|
|
|
etc/fonts/conf.d/20-unhint-small-dejavu-sans.conf
|
|
|
|
etc/fonts/conf.d/20-unhint-small-dejavu-serif.conf
|
|
|
|
etc/fonts/conf.d/57-dejavu-sans-mono.conf
|
|
|
|
etc/fonts/conf.d/57-dejavu-sans.conf
|
|
|
|
etc/fonts/conf.d/57-dejavu-serif.conf
|
|
|
|
"
|
|
|
|
|
|
|
|
termux_step_make_install() {
|
2019-01-21 17:50:21 +01:00
|
|
|
## Install fonts.
|
|
|
|
mkdir -p "${TERMUX_PREFIX}/share/fonts/TTF"
|
|
|
|
cp -f ttf/*.ttf "${TERMUX_PREFIX}/share/fonts/TTF/"
|
2018-09-21 19:50:46 +02:00
|
|
|
|
2019-01-21 17:50:21 +01:00
|
|
|
## Install config files used by 'fontconfig' package.
|
|
|
|
mkdir -p "${TERMUX_PREFIX}/etc/fonts/conf.d"
|
|
|
|
cp -f fontconfig/*.conf "${TERMUX_PREFIX}/etc/fonts/conf.d/"
|
2018-09-21 19:50:46 +02:00
|
|
|
}
|