29 lines
839 B
Bash
29 lines
839 B
Bash
# Template file for 'run-mailcap'
|
|
pkgname=run-mailcap
|
|
version=3.70
|
|
revision=1
|
|
wrksrc="mailcap-${version}ubuntu1"
|
|
depends="perl"
|
|
short_desc="Execute programs via entries in the mailcap file"
|
|
maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
|
|
license="custom:ad-hoc, custom:Bellcore"
|
|
homepage="https://packages.ubuntu.com/hirsute/mailcap"
|
|
distfiles="${UBUNTU_SITE}/main/m/mailcap/mailcap_${version}ubuntu1.tar.xz"
|
|
checksum=a1b4ddff6781ddf6a335565b5dc3da55437a6f97d30465e4d49d21684133add2
|
|
|
|
do_install() {
|
|
local _aliases="see edit compose print"
|
|
|
|
vbin run-mailcap
|
|
vman run-mailcap.man run-mailcap.1
|
|
vman mailcap.man 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
|
|
}
|