2018-09-10 00:42:26 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://xorg.freedesktop.org/
|
|
|
|
TERMUX_PKG_DESCRIPTION="Create an index of scalable font files for X"
|
2019-01-21 17:50:21 +01:00
|
|
|
TERMUX_PKG_LICENSE="MIT"
|
2021-08-25 12:47:33 +02:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2019-05-19 00:36:39 +02:00
|
|
|
TERMUX_PKG_VERSION=1.2.1
|
2021-10-25 10:19:07 +02:00
|
|
|
TERMUX_PKG_REVISION=23
|
2018-09-10 00:42:26 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://xorg.freedesktop.org/archive/individual/app/mkfontscale-${TERMUX_PKG_VERSION}.tar.bz2
|
2019-05-19 00:36:39 +02:00
|
|
|
TERMUX_PKG_SHA256=ca0495eb974a179dd742bfa6199d561bda1c8da4a0c5a667f21fd82aaab6bac7
|
2019-05-26 18:39:45 +02:00
|
|
|
TERMUX_PKG_DEPENDS="findutils, freetype, libfontenc, zlib"
|
2018-09-10 00:42:26 +02:00
|
|
|
TERMUX_PKG_BUILD_DEPENDS="xorg-util-macros, xorgproto"
|
2019-05-19 14:11:42 +02:00
|
|
|
TERMUX_PKG_CONFLICTS="xorg-mkfontdir"
|
|
|
|
TERMUX_PKG_REPLACES="xorg-mkfontdir"
|
|
|
|
|
|
|
|
termux_step_create_debscripts() {
|
|
|
|
cp -f "${TERMUX_PKG_BUILDER_DIR}/postinst" ./
|
|
|
|
cp -f "${TERMUX_PKG_BUILDER_DIR}/postrm" ./
|
|
|
|
cp -f "${TERMUX_PKG_BUILDER_DIR}/triggers" ./
|
2022-04-05 06:48:20 +02:00
|
|
|
sed -i "s|@TERMUX_PREFIX@|$TERMUX_PREFIX|g" ./{post{inst,rm},triggers}
|
2019-05-19 14:11:42 +02:00
|
|
|
}
|