mediainfo: reformat build.sh

This commit is contained in:
Leonid Pliushch 2020-04-07 15:18:31 +03:00
parent 5b32a358b7
commit b97f11e836

10
packages/mediainfo/build.sh Executable file → Normal file
View File

@ -5,12 +5,12 @@ TERMUX_PKG_VERSION=20.03
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://mediaarea.net/download/source/mediainfo/${TERMUX_PKG_VERSION}/mediainfo_${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=55bea28ce0d39c88677c58e3a002bbb95e206749be1d3d0c9134514b4c27acdc
TERMUX_PKG_DEPENDS=libmediainfo
TERMUX_PKG_DEPENDS="libmediainfo"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-dll"
termux_step_pre_configure() {
TERMUX_PKG_SRCDIR="${TERMUX_PKG_SRCDIR}/Project/GNU/CLI"
TERMUX_PKG_BUILDDIR="${TERMUX_PKG_SRCDIR}"
cd "${TERMUX_PKG_SRCDIR}" || return
./autogen.sh
TERMUX_PKG_SRCDIR="${TERMUX_PKG_SRCDIR}/Project/GNU/CLI"
TERMUX_PKG_BUILDDIR="${TERMUX_PKG_SRCDIR}"
cd "${TERMUX_PKG_SRCDIR}"
./autogen.sh
}