opt/mailx/Pkgfile

29 lines
688 B
Plaintext

# Description: Replacement for Berkeley Mail and System V mailx command
# URL: http://sourceforge.net/projects/s-nail/
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: openssl readline
name=mailx
version=14.8.9
release=1
source=(https://www.sdaoden.eu/downloads/s-nail-$version.tar.xz)
build() {
cd s-nail-$version
make install \
NAIL=mailx \
SID= \
PREFIX=/usr \
LIBEXECDIR=/usr/lib/mailx \
DESTDIR=$PKG \
WANT_AUTOCC=no \
WANT_READLINE=yes
chmod -R u+w $PKG
ln -s mailx $PKG/usr/bin/Mail
ln -s mailx $PKG/usr/bin/mail
ln -s mailx.1 $PKG/usr/share/man/man1/mail.1
}