2015-01-14 21:09:21 +01:00
|
|
|
# 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"
|
2015-01-15 12:21:53 +01:00
|
|
|
distfiles="${UBUNTU_SITE}/main/m/mime-support/mime-support_${version}ubuntu1.tar.gz"
|
2015-01-14 21:09:21 +01:00
|
|
|
checksum="359014c892432870e43b153287391d1212efd7b8ed8571508a65b6aa0488a17d"
|
2015-01-15 12:21:53 +01:00
|
|
|
wrksrc="mime-support-${version}ubuntu1"
|
2015-01-14 21:09:21 +01:00
|
|
|
noarch=1
|
|
|
|
depends="perl"
|
|
|
|
|
|
|
|
do_install() {
|
2015-01-15 07:48:48 +01:00
|
|
|
local _aliases="see edit compose print"
|
|
|
|
|
2015-01-14 21:09:21 +01:00
|
|
|
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
|
|
|
|
}
|
|
|
|
|