aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorIvan Tham <pickfire@riseup.net>2017-04-30 16:01:05 +0800
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-06-02 08:48:16 +0000
commitab0a93f5c31fbd15f6e75bf07a4aec5fda67711b (patch)
treede84c94b88b549ad2cb0fed0e2f9b9bf9ee25930 /testing
parent0dda0db74bcf629903630d02c829d1b6bff2ef9a (diff)
downloadaports-ab0a93f5c31fbd15f6e75bf07a4aec5fda67711b.tar.bz2
aports-ab0a93f5c31fbd15f6e75bf07a4aec5fda67711b.tar.xz
testing/s-nail: take ownership
Diffstat (limited to 'testing')
-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() {