1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-23 15:57:08 +00:00
termux-packages/packages/unifdef/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

15 lines
558 B
Bash

TERMUX_PKG_HOMEPAGE=http://dotat.at/prog/unifdef/
TERMUX_PKG_DESCRIPTION="Remove #ifdef'ed lines"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=2.12
TERMUX_PKG_SRCURL=https://dotat.at/prog/unifdef/unifdef-$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=fba564a24db7b97ebe9329713ac970627b902e5e9e8b14e19e024eb6e278d10b
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_make_install() {
mkdir -p "$TERMUX_PREFIX"/share/man/man1/
install -Dm700 unifdef "$TERMUX_PREFIX"/bin/
install -Dm600 unifdef.1 "$TERMUX_PREFIX"/share/man/man1/
}