void-packages/srcpkgs/run-mailcap/template
2019-05-02 22:48:36 -03:00

30 lines
826 B
Bash

# Template file for 'run-mailcap'
pkgname=run-mailcap
version=3.62
revision=1
archs=noarch
wrksrc="mime-support-${version}ubuntu1"
depends="perl"
short_desc="Execute programs via entries in the mailcap file"
maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
license="Public Domain"
homepage="http://packages.ubuntu.com/disco/mime-support"
distfiles="${UBUNTU_SITE}/main/m/mime-support/mime-support_${version}ubuntu1.tar.gz"
checksum=2d2155814dd33df2527e5982975fc500feae6bc6034afc4c1dd53da4c8557797
do_install() {
local _aliases="see edit compose print"
vbin run-mailcap
vman run-mailcap.man run-mailcap.1
vman mailcap.man mailcap.1
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
}