mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-11 06:56:58 +02:00
app-misc/mime-types: Sync with Gentoo
It's from Gentoo commit 705987b5a79eb5495ade09c515d806f39fd529b3.
This commit is contained in:
parent
439349d9dd
commit
84cf98b63a
@ -1,2 +1 @@
|
||||
DIST mailcap-r2-1-53.tar.gz 27238 BLAKE2B ffc9067287d951775c417d7a583a9f64fc09f98990f3f760643e76e3b91d2205040828cd452aa1004f0bc76c3e913f5da93887b385cc3cd9464327ba1ffde57a SHA512 3f952a031f9e86321a4583dba42fa7778a2821c55fc42b6096cc56c531bc957e50c545ab0d470ab72782eb3815e8278df122e20c1ae532b7bbb55db12e00cb77
|
||||
DIST mailcap-r2-1-54.tar.gz 28518 BLAKE2B d56fcd5d662bc7feeb20b310f7582e4b670d400e1059371bfce8a5e36a69ea24675c6016b7ed6bde9ba8d078a0ad10281ede3f7060f063302dba2ec7da707b5d SHA512 6c68df26caac326ce14630e2cec582ab88cda27710155f336dbab4681e76a94d2818452ed39f2e9edd2d960603b783a6e801da6e7c400bb708b910e61ed66b6e
|
||||
|
@ -1,25 +0,0 @@
|
||||
# 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 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-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
|
||||
}
|
Loading…
Reference in New Issue
Block a user