[arch-commits] Commit in s-nail/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Wed Nov 24 22:05:59 UTC 2021
Date: Wednesday, November 24, 2021 @ 22:05:59
Author: felixonmars
Revision: 429087
archrelease: copy trunk to testing-x86_64
Added:
s-nail/repos/testing-x86_64/
s-nail/repos/testing-x86_64/PKGBUILD
(from rev 429086, s-nail/trunk/PKGBUILD)
----------+
PKGBUILD | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
Copied: s-nail/repos/testing-x86_64/PKGBUILD (from rev 429086, s-nail/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2021-11-24 22:05:59 UTC (rev 429087)
@@ -0,0 +1,51 @@
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s at arch@gmail.com>
+# Contributor: Andreas Wagner <Andreas.Wagner at em.uni-frankfurt.de>
+
+pkgname=s-nail
+pkgver=14.9.23
+pkgrel=1
+pkgdesc='Environment for sending and receiving mail'
+url='https://www.sdaoden.eu/code.html#s-nail'
+license=('custom:BSD')
+arch=('x86_64')
+depends=('openssl' 'krb5' 'libidn2')
+optdepends=('smtp-forwarder: for sending mail')
+validpgpkeys=('EE19E1C1F2F7054F8D3954D8308964B51883A0DD')
+source=("https://www.sdaoden.eu/downloads/${pkgname}-${pkgver}.tar.xz"{,.asc})
+sha512sums=('6977554b116c9cf92ab0a5923c0e05eadbb3c0c435a8dee7f848c6999b6c6e02d775b5510531a6737cd64f76de8ff335ea3fac76e8fcdd8655a2a03c320ed7e8'
+ 'SKIP')
+
+backup=('etc/mail.rc')
+replaces=('mailx' 'mailx-heirloom' 'heirloom-mailx')
+provides=('mailx' 'mailx-heirloom' 'heirloom-mailx')
+conflicts=('mailx' 'mailx-heirloom' 'heirloom-mailx')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ export CFLAGS+=" $CPPFLAGS"
+ make \
+ VAL_PREFIX=/usr \
+ VAL_SYSCONFDIR=/etc \
+ VAL_LIBEXECDIR=/usr/lib \
+ VAL_MAIL=/var/spool/mail \
+ VAL_SID= VAL_MAILX=mail \
+ OPT_AUTOCC=0 \
+ config
+
+ make build
+}
+
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make test
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ ln -sf mail "${pkgdir}"/usr/bin/mailx
+ ln -sf mail.1.gz "${pkgdir}"/usr/share/man/man1/mailx.1.gz
+ install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+}
More information about the arch-commits
mailing list