mime-support: added Debian-like package
authorDavid Martinez <contacto@davidmartinez.net>
Thu, 16 Feb 2017 23:18:16 +0000 (00:18 +0100)
committerFredrik Fornwall <fredrik@fornwall.net>
Fri, 11 Aug 2017 10:45:59 +0000 (12:45 +0200)
packages/mime-support/build.sh [new file with mode: 0644]

diff --git a/packages/mime-support/build.sh b/packages/mime-support/build.sh
new file mode 100644 (file)
index 0000000..445970b
--- /dev/null
@@ -0,0 +1,9 @@
+TERMUX_PKG_HOMEPAGE=https://packages.debian.org/en/stretch/mime-support
+TERMUX_PKG_DESCRIPTION="MIME type associations for file types"
+TERMUX_PKG_VERSION=3.60
+TERMUX_PKG_SRCURL=http://http.debian.net/debian/pool/main/m/mime-support/mime-support_$TERMUX_PKG_VERSION.tar.gz
+TERMUX_PKG_FOLDERNAME=mime-support
+
+termux_step_make_install() {
+       cp $TERMUX_PKG_SRCDIR/mime.types $TERMUX_PREFIX/etc
+}