blob: e650cf266fb296203d3ac12e06a1f7f900e3098d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Contributor: Ivan Tham <pickfire@riseup.net>
# Maintainer: Ivan Tham <pickfire@riseup.net>
pkgname=s-nail
pkgver=14.8.16
pkgrel=0
pkgdesc="An incarnation of BSD Mail / POSIX mailx"
url="https://www.sdaoden.eu/code.html#s-nail"
arch="all"
license="BSD"
makedepends="libressl-dev libidn-dev"
options="suid"
replaces="mailx"
subpackages="$pkgname-doc"
source="https://ftp.sdaoden.eu/s-nail-$pkgver.tar.xz"
builddir="$srcdir/"$pkgname-$pkgver
build() {
cd "$builddir"
make SID= NAIL=mail PREFIX=/usr SYSCONFDIR=/etc WANT_AUTOCC=0 all
}
check() {
cd "$builddir"
make test
}
package() {
cd "$builddir"
make -f mk.mk install DESTDIR="$pkgdir" LIBEXECDIR=/usr/lib/s-nail
}
sha512sums="c6e431df0325cb2561bdc6dd507155829ab48cc8731971139d75058a1bfbd010eab3a1077b5c45ac7850d3b71ab45cf4df7ab62b1b6a1bf97b098b5278161b15 s-nail-14.8.16.tar.xz"
|