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.54
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=9a4032202fc0d2b0858f41b167389a9cfe52ac24ec282e6479b90765319de113
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
}