Mail archive
alpine-aports

[alpine-aports] [PATCH] testing/s-nail: take ownership

From: Ivan Tham <pickfire_at_riseup.net>
Date: Sun, 30 Apr 2017 16:01:05 +0800

---
 testing/s-nail/APKBUILD | 25 +++++++++++++------------
 1 file 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
_at_@ -1,26 +1,27 @@
-# Maintainer: Natanael Copa <ncopa_at_alpinelinux.org>
+# Contributor: Ivan Tham <pickfire_at_riseup.net>
+# Maintainer: Ivan Tham <pickfire_at_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() {
-- 
2.12.2
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Sun Apr 30 2017 - 16:01:05 GMT