2018-09-10 00:42:26 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://xorg.freedesktop.org/
|
|
|
|
TERMUX_PKG_DESCRIPTION="X.org 100dpi fonts"
|
2019-01-21 17:50:21 +01:00
|
|
|
TERMUX_PKG_LICENSE="MIT"
|
2020-05-14 00:01:15 +02:00
|
|
|
TERMUX_PKG_MAINTAINER="Leonid Pliushch <leonid.pliushch@gmail.com>"
|
2018-09-10 00:42:26 +02:00
|
|
|
TERMUX_PKG_VERSION=1.0.3
|
2020-07-22 18:30:21 +02:00
|
|
|
TERMUX_PKG_REVISION=22
|
2020-07-22 21:14:10 +02:00
|
|
|
TERMUX_PKG_SRCURL=("https://xorg.freedesktop.org/releases/individual/font/font-adobe-100dpi-1.0.3.tar.bz2"
|
|
|
|
"https://xorg.freedesktop.org/releases/individual/font/font-adobe-utopia-100dpi-1.0.4.tar.bz2"
|
|
|
|
"https://xorg.freedesktop.org/releases/individual/font/font-bh-100dpi-1.0.3.tar.bz2"
|
|
|
|
"https://xorg.freedesktop.org/releases/individual/font/font-bh-lucidatypewriter-100dpi-1.0.3.tar.bz2"
|
|
|
|
"https://xorg.freedesktop.org/releases/individual/font/font-bitstream-100dpi-1.0.3.tar.bz2")
|
|
|
|
TERMUX_PKG_SHA256=("b2c08433eab5cb202470aa9f779efefce8d9cab2534f34f3aa4a31d05671c054"
|
|
|
|
"d16f5e3f227cc6dd07a160a71f443559682dbc35f1c056a5385085aaec4fada5"
|
|
|
|
"23c07162708e4b79eb33095c8bfa62c783717a9431254bbf44863734ea239481"
|
|
|
|
"62a83363c2536095fda49d260d21e0847675676e4e3415054064cbdffa641fbb"
|
|
|
|
"ebe0d7444e3d7c8da7642055ac2206f0190ee060700d99cd876f8fc9964cb6ce")
|
2019-05-19 14:11:42 +02:00
|
|
|
TERMUX_PKG_DEPENDS="fontconfig-utils, xorg-font-util, xorg-fonts-alias, xorg-fonts-encodings, xorg-mkfontscale"
|
2018-09-10 00:42:26 +02:00
|
|
|
TERMUX_PKG_CONFLICTS="xorg-fonts-lite"
|
|
|
|
TERMUX_PKG_PLATFORM_INDEPENDENT=true
|
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
|
2020-07-22 21:14:10 +02:00
|
|
|
termux_step_get_source() {
|
|
|
|
mkdir -p "$TERMUX_PKG_SRCDIR"
|
|
|
|
local i
|
2019-01-21 17:50:21 +01:00
|
|
|
for i in {0..4}; do
|
2020-07-22 21:14:10 +02:00
|
|
|
termux_download "${TERMUX_PKG_SRCURL[i]}" "$(basename "${TERMUX_PKG_SRCURL[i]}")" "${TERMUX_PKG_SHA256[i]}"
|
|
|
|
tar xf "$(basename "${TERMUX_PKG_SRCURL[i]}")" -C "${TERMUX_PKG_SRCDIR}"
|
2019-01-21 17:50:21 +01:00
|
|
|
done
|
2018-09-10 00:42:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
termux_step_make_install() {
|
2020-07-22 21:14:10 +02:00
|
|
|
local i
|
2019-01-21 17:50:21 +01:00
|
|
|
for i in {0..4}; do
|
2020-07-22 21:14:10 +02:00
|
|
|
local file=$(basename "${TERMUX_PKG_SRCURL[i]}")
|
|
|
|
local dir="${TERMUX_PKG_SRCDIR}/${file%%.tar.bz2}"
|
2019-01-21 17:50:21 +01:00
|
|
|
|
|
|
|
pushd "${dir}"
|
|
|
|
./configure \
|
|
|
|
--prefix="${TERMUX_PREFIX}" \
|
|
|
|
--host="${TERMUX_HOST_PLATFORM}" \
|
|
|
|
--with-fontdir="${TERMUX_PREFIX}/share/fonts/100dpi"
|
|
|
|
make -j "${TERMUX_MAKE_PROCESSES}"
|
|
|
|
make install
|
|
|
|
popd
|
|
|
|
done
|
2018-09-10 00:42:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
termux_step_post_make_install() {
|
2019-01-21 17:50:21 +01:00
|
|
|
rm -f "${TERMUX_PREFIX}"/share/fonts/100dpi/fonts.*
|
2018-09-10 00:42:26 +02:00
|
|
|
}
|