termux-packages/packages/hiptext/build.sh
Leonid Pliushch 37375312b9
explicitly set maintainer for each package
In issue https://github.com/termux/termux-packages/issues/6160 I have found
that community repo "its-pointless.github.io" specifies us as maintainer
for its packages. This is NOT TRUE and potentially misleads people using
these packages.

Now TERMUX_PKG_MAINTAINER will contain a default value which is neutral
and not specify maintainer. So all packages now have to override it to
the correct value.

[skip ci]
%ci:no-build
2020-12-20 15:16:34 +02:00

19 lines
852 B
Bash

TERMUX_PKG_HOMEPAGE=https://github.com/jart/hiptext
TERMUX_PKG_DESCRIPTION="Turn images into text better than caca/aalib"
TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.2
TERMUX_PKG_REVISION=8
TERMUX_PKG_SRCURL=https://github.com/jart/hiptext/releases/download/$TERMUX_PKG_VERSION/hiptext-$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=7f2217dec8775b445be6745f7bd439c24ce99c4316a9faf657bee7b42bc72e8f
TERMUX_PKG_DEPENDS="ffmpeg, freetype, gflags, google-glog, libjpeg-turbo, libpng, ncurses"
TERMUX_PKG_BUILD_DEPENDS="ragel"
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_pre_configure() {
#Font reference on file font.cc --> Patch by font.cc.patch
#Because of ttf-dejavu is x11 package, the hiptext is not a x11 package.
install -Dm600 -t "$TERMUX_PREFIX"/share/hiptext/ \
"$TERMUX_PKG_SRCDIR"/DejaVuSansMono.ttf
}