termux-packages/packages/pango/build.sh
2019-08-18 00:00:00 +02:00

16 lines
704 B
Bash

TERMUX_PKG_HOMEPAGE=https://www.pango.org/
TERMUX_PKG_DESCRIPTION="Library for laying out and rendering text"
TERMUX_PKG_LICENSE="LGPL-2.0"
TERMUX_PKG_VERSION=1.44.5
TERMUX_PKG_SRCURL=https://ftp.gnome.org/pub/GNOME/sources/pango/${TERMUX_PKG_VERSION:0:4}/pango-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=8527dfcbeedb4390149b6f94620c0fa64e26046ab85042c2a7556438847d7fc1
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-Dintrospection=false"
TERMUX_PKG_DEPENDS="fontconfig, fribidi, glib, harfbuzz, libcairo, libffi"
TERMUX_PKG_BREAKS="pango-dev"
TERMUX_PKG_REPLACES="pango-dev"
termux_step_post_make_install() {
install -Dm600 $TERMUX_PKG_BUILDER_DIR/pango-view.1 \
$TERMUX_PREFIX/share/man/man1/pango-view.1
}