void-packages/srcpkgs/run-mailcap/template
Đoàn Trần Công Danh 87479fe176 run-mailcap: remove noarch
2020-11-29 09:46:07 +07:00

29 lines
856 B
Bash

# Template file for 'run-mailcap'
pkgname=run-mailcap
version=3.64
revision=2
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="custom:ad-hoc, custom:Bellcore"
homepage="http://packages.ubuntu.com/disco/mime-support"
distfiles="${UBUNTU_SITE}/main/m/mime-support/mime-support_${version}ubuntu1.tar.xz"
checksum=5007d2ebc25935bfca6d4bdac0efdfc089a38c1be49d19f0422559f666e4f2c4
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
}