void-packages/srcpkgs/run-mailcap/template

28 lines
780 B
Bash

# Template file for 'run-mailcap'
pkgname=run-mailcap
version=3.70
revision=2
depends="perl mime-types"
short_desc="Execute programs via entries in the mailcap file"
maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
license="Public Domain, custom:Bellcore"
homepage="https://tracker.debian.org/pkg/mailcap"
distfiles="${DEBIAN_SITE}/main/m/mailcap/mailcap_${version}+nmu1.tar.xz"
checksum=fd6a08710c54262e3f3907a6a0d2f12be9a34ca083dc569e3590291e60b5290e
do_install() {
local _aliases="see edit compose print"
vbin run-mailcap
vman run-mailcap.man run-mailcap.1
vlicense debian/copyright
cd ${DESTDIR}/usr/bin
for a in ${_aliases}; do
ln -sf run-mailcap ${a}
done
cd ${DESTDIR}/usr/share/man/man1
for a in ${_aliases}; do
ln -sf run-mailcap.1 ${a}.1
done
}