termux-packages/packages/mime-support/build.sh

16 lines
687 B
Bash
Raw Normal View History

TERMUX_PKG_HOMEPAGE=https://packages.debian.org/en/stretch/mime-support
TERMUX_PKG_DESCRIPTION="MIME type associations for file types"
2019-03-25 15:26:38 +01:00
TERMUX_PKG_LICENSE="Public Domain"
TERMUX_PKG_MAINTAINER="@termux"
2019-11-02 08:47:15 +01:00
TERMUX_PKG_VERSION=3.64
TERMUX_PKG_SRCURL=http://http.debian.net/debian/pool/main/m/mime-support/mime-support_$TERMUX_PKG_VERSION.tar.xz
TERMUX_PKG_SHA256=587f35aabd25e9cabd9be485ce94539fb783d5b8d23492798dbec320ee6b1e88
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() {
2019-09-18 18:10:57 +02:00
install -Dm600 $TERMUX_PKG_SRCDIR/mime.types $TERMUX_PREFIX/etc/mime.types
}