aboutsummaryrefslogtreecommitdiffstats
path: root/testing/s-nail/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-03-24 10:58:25 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-03-24 11:05:41 +0000
commite1e22e474e12adc1d27d852e3b88a92fa930cf98 (patch)
tree1bb39f04256598e37da79d07e1b5987121f783f3 /testing/s-nail/APKBUILD
parenta07fa9859c8a74d406f0997c10c5f5cb1d8c408f (diff)
downloadaports-e1e22e474e12adc1d27d852e3b88a92fa930cf98.tar.gz
aports-e1e22e474e12adc1d27d852e3b88a92fa930cf98.tar.bz2
aports-e1e22e474e12adc1d27d852e3b88a92fa930cf98.tar.xz
testing/s-nail: new aport
simple mail user agent for command line https://www.sdaoden.eu/code.html#s-nail
Diffstat (limited to 'testing/s-nail/APKBUILD')
-rw-r--r--testing/s-nail/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/s-nail/APKBUILD b/testing/s-nail/APKBUILD
new file mode 100644
index 0000000000..8d215acf86
--- /dev/null
+++ b/testing/s-nail/APKBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=s-nail
+pkgver=14.8.16
+_ver=${pkgver//./_}
+pkgrel=0
+pkgdesc="simple mail user agent for command line"
+url="https://www.sdaoden.eu/code.html#s-nail"
+arch="all"
+license="BSD"
+depends=""
+depends_dev=""
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-doc"
+source="https://ftp.sdaoden.eu/s-nail-$pkgver.tar.xz"
+options="!check suid"
+
+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
+}
+
+package() {
+ cd "$builddir"
+ make -f mk.mk install DESTDIR="$pkgdir" LIBEXECDIR=/usr/lib/s-nail
+}
+
+sha512sums="c6e431df0325cb2561bdc6dd507155829ab48cc8731971139d75058a1bfbd010eab3a1077b5c45ac7850d3b71ab45cf4df7ab62b1b6a1bf97b098b5278161b15 s-nail-14.8.16.tar.xz"