36 lines
1.1 KiB
Bash
36 lines
1.1 KiB
Bash
# Template file for 's-nail'
|
|
pkgname=s-nail
|
|
version=14.8.9
|
|
revision=1
|
|
makedepends="libressl-devel libidn-devel"
|
|
conf_files="/etc/s-nail.rc"
|
|
short_desc="Mail processing system with a command syntax reminiscent of ed"
|
|
maintainer='Juan RP <xtraeme@voidlinux.eu>'
|
|
license="BSD"
|
|
homepage="https://git.sdaoden.eu/cgit/s-nail.git"
|
|
distfiles="https://www.sdaoden.eu/downloads/s-nail-${version}.tar.xz"
|
|
checksum=2ea997dd66d91b67560563bea577b2470b1e434e79f9ce63b05c302302d86e54
|
|
|
|
provides="mail-${version}_${revision}"
|
|
|
|
alternatives="
|
|
mail:mail.rc:/etc/s-nail.rc
|
|
mail:mail:/usr/bin/s-nail
|
|
mail:mail.1:/usr/share/man/man1/s-nail.1
|
|
"
|
|
|
|
do_build() {
|
|
make CC=$CC PREFIX=/usr SYSCONFDIR=/etc SID= NAIL=mail BINDIR=/usr/bin MANDIR=/usr/share/man \
|
|
MAILSPOOL=/var/spool/mail XPAGER=less SENDMAIL=/usr/bin/sendmail WANT_IDNA=1 WANT_AUTOCC=0 \
|
|
WANT_FILTER_HTML_TAGSOUP=1 config
|
|
make CC=$CC ${makejobs} build
|
|
}
|
|
|
|
do_install() {
|
|
make DESTDIR=$DESTDIR packager-install
|
|
mv ${DESTDIR}/etc/{mail,$pkgname}.rc
|
|
mv ${DESTDIR}/usr/bin/{mail,$pkgname}
|
|
mv ${DESTDIR}/usr/share/man/man1/{mail,$pkgname}.1
|
|
vlicense COPYING
|
|
}
|