void-packages/srcpkgs/mime-types/template

25 lines
721 B
Bash

# Template file for 'mime-types'
pkgname=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"
conf_files="/etc/mime.types"
short_desc="Provides a shared /etc/mime.types file"
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
}