summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2023-05-24 07:20:29 +0200
committerEray Aslan <eras@gentoo.org>2023-05-24 07:20:29 +0200
commiteb69700370e804ea44b11c0cbfe8a4540c0a8d96 (patch)
tree892db672782513e9e11a741f1955c6e10c9f5f8a /app-misc/mime-types
parentapp-text/enchant: Ignore implicit declaration of alignof (diff)
downloadgentoo-eb69700370e804ea44b11c0cbfe8a4540c0a8d96.tar.gz
gentoo-eb69700370e804ea44b11c0cbfe8a4540c0a8d96.tar.bz2
gentoo-eb69700370e804ea44b11c0cbfe8a4540c0a8d96.zip
app-misc/mime-types: add 2.1.54
Signed-off-by: Eray Aslan <eras@gentoo.org>
Diffstat (limited to 'app-misc/mime-types')
-rw-r--r--app-misc/mime-types/Manifest1
-rw-r--r--app-misc/mime-types/mime-types-2.1.54.ebuild25
2 files changed, 26 insertions, 0 deletions
diff --git a/app-misc/mime-types/Manifest b/app-misc/mime-types/Manifest
index 52320ca95aee..12cffff7675b 100644
--- a/app-misc/mime-types/Manifest
+++ b/app-misc/mime-types/Manifest
@@ -1 +1,2 @@
DIST mailcap-r2-1-53.tar.gz 27238 BLAKE2B ffc9067287d951775c417d7a583a9f64fc09f98990f3f760643e76e3b91d2205040828cd452aa1004f0bc76c3e913f5da93887b385cc3cd9464327ba1ffde57a SHA512 3f952a031f9e86321a4583dba42fa7778a2821c55fc42b6096cc56c531bc957e50c545ab0d470ab72782eb3815e8278df122e20c1ae532b7bbb55db12e00cb77
+DIST mailcap-r2-1-54.tar.gz 28518 BLAKE2B d56fcd5d662bc7feeb20b310f7582e4b670d400e1059371bfce8a5e36a69ea24675c6016b7ed6bde9ba8d078a0ad10281ede3f7060f063302dba2ec7da707b5d SHA512 6c68df26caac326ce14630e2cec582ab88cda27710155f336dbab4681e76a94d2818452ed39f2e9edd2d960603b783a6e801da6e7c400bb708b910e61ed66b6e
diff --git a/app-misc/mime-types/mime-types-2.1.54.ebuild b/app-misc/mime-types/mime-types-2.1.54.ebuild
new file mode 100644
index 000000000000..d2623a76403e
--- /dev/null
+++ b/app-misc/mime-types/mime-types-2.1.54.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PV=${PV//./-}
+DESCRIPTION="Provides /etc/mime.types file"
+HOMEPAGE="https://pagure.io/mailcap"
+SRC_URI="https://pagure.io/mailcap/archive/r${MY_PV}/mailcap-r${MY_PV}.tar.gz"
+
+LICENSE="public-domain MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="nginx"
+
+S="${WORKDIR}/mailcap-r${MY_PV}"
+
+src_install() {
+ insinto /etc
+ doins mime.types
+ if use nginx; then
+ insinto /etc/nginx
+ doins mime.types.nginx
+ fi
+}