mime-types: update to 2.1.53.

The old mime-types was from 2007.  Even gentoo switched to mailcap.
This commit is contained in:
Đoàn Trần Công Danh 2023-02-28 22:49:00 +07:00
parent 432403a225
commit d7bb6576ba
2 changed files with 17 additions and 8 deletions

View File

@ -1,15 +1,23 @@
# Template file for 'mime-types'
pkgname=mime-types
version=9
revision=5
conf_files="/etc/mime.types"
reverts="9_1 9_2 9_3 9_4 9_5"
version=2.1.53
revision=1
conf_files="/etc/mime.types /etc/nginx/mime.types"
short_desc="Provides a shared /etc/mime.types file"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://www.gentoo.org"
distfiles="http://mirrors.kernel.org/gentoo/distfiles/${pkgname}-${version}.tar.bz2"
checksum=b4638a734f121be30a546ed092aec16bf74e9b88ed7921fba89cf7e2c0462b5e
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="Public Domain, MIT"
homepage="https://pagure.io/mailcap"
distfiles="https://releases.pagure.org/mailcap/mailcap-${version}.tar.xz"
checksum=5eea2ef17b304977ba3ecb87afad4319fa0440f825e4f6fba6e8fa2ffeb88785
do_build() {
: sh generate-nginx-mimetypes.sh <mime.types >mime.types.nginx
}
do_install() {
vconf mime.types
# vinstall 644 mime.types.nginx etc/nginx/mime.types
vman mailcap.5
vlicense COPYING
}

View File

@ -0,0 +1 @@
pkgname=mailcap