c352216c63
Variables TERMUX_PKG_PLATFORM_INDEPENDENT TERMUX_DEBUG TERMUX_PKG_HAS_DEBUG TERMUX_PKG_ESSENTIAL TERMUX_SUBPKG_ESSENTIAL TERMUX_PKG_NO_STATICSPLIT TERMUX_PKG_BUILD_IN_SRC TERMUX_PKG_FORCE_CMAKE TERMUX_PKG_HOSTBUILD should not accept arbitrary values for marking them "enabled". Instead they should accept boolean values which makes them easier to handle and also makes their meaning clear. build-package.sh should make decision based on variable's value but not on whether it is set or empty. %ci:no-build
15 lines
632 B
Bash
15 lines
632 B
Bash
TERMUX_PKG_HOMEPAGE=https://packages.debian.org/en/stretch/mime-support
|
|
TERMUX_PKG_DESCRIPTION="MIME type associations for file types"
|
|
TERMUX_PKG_LICENSE="Public Domain"
|
|
TERMUX_PKG_VERSION=3.62
|
|
TERMUX_PKG_SHA256=54e0a03e0cd63c7c9fe68a18ead0a2143fd3c327604215f989d85484d0409f4a
|
|
TERMUX_PKG_SRCURL=http://http.debian.net/debian/pool/main/m/mime-support/mime-support_$TERMUX_PKG_VERSION.tar.gz
|
|
TERMUX_PKG_PLATFORM_INDEPENDENT=true
|
|
TERMUX_PKG_CONFFILES="etc/mime.types"
|
|
# etc/mime.types was previously in mutt:
|
|
TERMUX_PKG_CONFLICTS="mutt (<< 1.8.3-1)"
|
|
|
|
termux_step_make_install() {
|
|
cp $TERMUX_PKG_SRCDIR/mime.types $TERMUX_PREFIX/etc
|
|
}
|