diff --git a/srcpkgs/mime-types/template b/srcpkgs/mime-types/template index 26664c809f1..4541244a418 100644 --- a/srcpkgs/mime-types/template +++ b/srcpkgs/mime-types/template @@ -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 " -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 " +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.nginx +} do_install() { vconf mime.types + # vinstall 644 mime.types.nginx etc/nginx/mime.types + vman mailcap.5 + vlicense COPYING } diff --git a/srcpkgs/mime-types/update b/srcpkgs/mime-types/update new file mode 100644 index 00000000000..e79d43e0263 --- /dev/null +++ b/srcpkgs/mime-types/update @@ -0,0 +1 @@ +pkgname=mailcap