New package: run-mailcap-3.58_1

This commit is contained in:
Stefan Mühlinghaus 2015-01-14 21:09:21 +01:00
parent e56ff44c2b
commit 3844ce47ea
2 changed files with 56 additions and 0 deletions

View File

@ -0,0 +1,25 @@
Remove mention of the "view" alias from the manpage.
It won't be installed as it would conflict with vi packages.
Remove mention of the "update-mime" tool from the manpage.
It won't be installed as it is specific to Debian packages.
--- run-mailcap.man.orig 2014-12-28 07:06:43.000000000 +0100
+++ run-mailcap.man 2015-01-14 20:40:31.550692133 +0100
@@ -4,7 +4,7 @@
.\"
.TH RUN-MAILCAP 1 "1st Jan 2008" "Debian Project" "Run Mailcap Programs"
.SH NAME
-run-mailcap, view, see, edit, compose, print \- execute programs via entries in the
+run-mailcap, see, edit, compose, print \- execute programs via entries in the
.I mailcap
file
.SH SYNOPSIS
@@ -81,7 +81,6 @@
Displays the found command without actually executing it.
.SH "SEE ALSO"
.BR file "(1)"
-.BR update-mime "(8)"
.SH AUTHOR
.B run-mailcap
(and its aliases) was written by Brian White <bcwhite@pobox.com>.

View File

@ -0,0 +1,31 @@
# Template file for 'run-mailcap'
pkgname="run-mailcap"
version="3.58"
revision=1
_ubuntu_revision=1
update_version="${version}ubuntu${_ubuntu_revision}"
_aliases="see edit compose print"
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="http://archive.ubuntu.com/ubuntu/pool/main/m/mime-support/mime-support_${update_version}.tar.gz"
checksum="359014c892432870e43b153287391d1212efd7b8ed8571508a65b6aa0488a17d"
wrksrc="mime-support-${update_version}"
update_pkgname="mime-support"
noarch=1
depends="perl"
do_install() {
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
}