mailx: register 'mail' alternatives group.
This commit is contained in:
parent
d62a58463b
commit
709047cf8d
|
@ -1,13 +1,12 @@
|
|||
# Template file for 'mailx'
|
||||
pkgname=mailx
|
||||
version=12.5
|
||||
revision=12
|
||||
revision=13
|
||||
patch_args="-Np1"
|
||||
wrksrc="mailx-${version}"
|
||||
makedepends="libressl-devel mit-krb5-devel"
|
||||
conf_files="/etc/mail.rc"
|
||||
conf_files="/etc/mailx.rc"
|
||||
provides="mail-${version}_${revision}"
|
||||
replaces="mail>=0"
|
||||
short_desc="Feature-rich BSD mail(1)"
|
||||
homepage="http://heirloom.sourceforge.net/mailx.html"
|
||||
license="BSD"
|
||||
|
@ -15,12 +14,18 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|||
distfiles="http://pkgs.fedoraproject.org/repo/pkgs/mailx/mailx-${version}.tar.xz/836bf1da322d2d1f78b7056c2b3b2304/${pkgname}-${version}.tar.xz"
|
||||
checksum=1b8136fb2466adeaf71a5e3c65db9fa1a967f1f6469ff689c2cf06e21f638823
|
||||
|
||||
alternatives="
|
||||
mail:mail.rc:/etc/mailx.rc
|
||||
mail:mail:/usr/bin/mailx
|
||||
mail:mail.1:/usr/share/man/man1/mailx.1
|
||||
"
|
||||
|
||||
do_build() {
|
||||
echo PREFIX=/usr \
|
||||
BINDIR=/usr/bin \
|
||||
MANDIR=/usr/share/man \
|
||||
SYSCONFDIR=/etc \
|
||||
MAILRC=/etc/mail.rc \
|
||||
MAILRC=/etc/mailx.rc \
|
||||
MAILSPOOL=/var/spool/mail \
|
||||
UCBINSTALL=install \
|
||||
STRIP=$STRIP \
|
||||
|
@ -33,7 +38,4 @@ do_build() {
|
|||
|
||||
do_install() {
|
||||
make DESTDIR=${DESTDIR} $(cat makeflags) install
|
||||
|
||||
ln -s mailx ${DESTDIR}/usr/bin/mail
|
||||
ln -s mailx.1 ${DESTDIR}/usr/share/man/man1/mail.1
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue