29 lines
800 B
Text
29 lines
800 B
Text
# Template file for 'run-mailcap'
|
|
pkgname="run-mailcap"
|
|
version="3.58"
|
|
revision=1
|
|
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/vivid/mime-support"
|
|
distfiles="${UBUNTU_SITE}/main/m/mime-support/mime-support_${update_version}.tar.gz"
|
|
checksum="359014c892432870e43b153287391d1212efd7b8ed8571508a65b6aa0488a17d"
|
|
wrksrc="mime-support-${update_version}"
|
|
noarch=1
|
|
depends="perl"
|
|
|
|
do_install() {
|
|
local _aliases="see edit compose print"
|
|
|
|
vbin run-mailcap
|
|
vman run-mailcap.man run-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
|
|
}
|
|
|