37375312b9
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
42 lines
1.2 KiB
Bash
42 lines
1.2 KiB
Bash
TERMUX_PKG_HOMEPAGE=http://arj.sourceforge.net/
|
|
TERMUX_PKG_DESCRIPTION="Open-source version of arj archiver"
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION=3.10.22
|
|
TERMUX_PKG_REVISION=5
|
|
TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/arj/arj-$TERMUX_PKG_VERSION.tar.gz
|
|
TERMUX_PKG_SHA256=589e4c9bccc8669e7b6d8d6fcd64e01f6a2c21fe10aad56a83304ecc3b96a7db
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
termux_step_pre_configure() {
|
|
(cd ./gnu && autoconf -f -i)
|
|
|
|
# Hack for executing configure script in
|
|
# non-standard directory.
|
|
{
|
|
echo "#!/bin/sh"
|
|
echo "cd ./gnu"
|
|
echo "\$(dirname \$0)/gnu/configure \"\$@\""
|
|
} > ./configure
|
|
chmod +x ./configure
|
|
}
|
|
|
|
# ARJ appends archive of its help to its end. Unfortunately stripping and
|
|
# ELF cleaning remove it. So redo this addition and correct the
|
|
# ARJ self-checksum.
|
|
termux_step_post_massage() {
|
|
local build_subdir
|
|
|
|
if [ "$TERMUX_ARCH" = "arm" ]; then
|
|
build_subdir="linux-androideabi"
|
|
else
|
|
build_subdir="linux-android"
|
|
fi
|
|
|
|
"$TERMUX_PKG_SRCDIR/$build_subdir"/en/rs/tools/join \
|
|
bin/arj \
|
|
"$TERMUX_PKG_SRCDIR/$build_subdir"/en/rs/help.arj
|
|
"$TERMUX_PKG_SRCDIR/$build_subdir"/en/rs/tools/postproc \
|
|
bin/arj
|
|
}
|