aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/s-nail/APKBUILD25
1 files changed, 13 insertions, 12 deletions
diff --git a/testing/s-nail/APKBUILD b/testing/s-nail/APKBUILD
index 8d215acf86..e650cf266f 100644
--- a/testing/s-nail/APKBUILD
+++ b/testing/s-nail/APKBUILD
@@ -1,26 +1,27 @@
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+# Contributor: Ivan Tham <pickfire@riseup.net>
+# Maintainer: Ivan Tham <pickfire@riseup.net>
pkgname=s-nail
pkgver=14.8.16
-_ver=${pkgver//./_}
pkgrel=0
-pkgdesc="simple mail user agent for command line"
+pkgdesc="An incarnation of BSD Mail / POSIX mailx"
url="https://www.sdaoden.eu/code.html#s-nail"
arch="all"
license="BSD"
-depends=""
-depends_dev=""
-makedepends="$depends_dev"
-install=""
+makedepends="libressl-dev libidn-dev"
+options="suid"
+replaces="mailx"
subpackages="$pkgname-doc"
source="https://ftp.sdaoden.eu/s-nail-$pkgver.tar.xz"
-options="!check suid"
+builddir="$srcdir/"$pkgname-$pkgver
-builddir="$srcdir"/s-nail-$pkgver
build() {
cd "$builddir"
- make CONFIG=MEDIUM PREFIX=/usr SYSCONFDIR=/etc MANDIR=/usr/share/man \
- LIBEXECDIR=/usr/lib/s-nail \
- all
+ make SID= NAIL=mail PREFIX=/usr SYSCONFDIR=/etc WANT_AUTOCC=0 all
+}
+
+check() {
+ cd "$builddir"
+ make test
}
package() {