[arch-commits] Commit in s-nail/repos (extra-x86_64 extra-x86_64/PKGBUILD)
Gaëtan Bisson
bisson at archlinux.org
Mon Mar 11 17:35:49 UTC 2019
Date: Monday, March 11, 2019 @ 17:35:48
Author: bisson
Revision: 347698
archrelease: copy trunk to extra-x86_64
Added:
s-nail/repos/extra-x86_64/
s-nail/repos/extra-x86_64/PKGBUILD
(from rev 347697, s-nail/trunk/PKGBUILD)
----------+
PKGBUILD | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+)
Copied: s-nail/repos/extra-x86_64/PKGBUILD (from rev 347697, s-nail/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2019-03-11 17:35:48 UTC (rev 347698)
@@ -0,0 +1,52 @@
+# 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.13
+pkgrel=1
+pkgdesc='Mail processing system with a command syntax reminiscent of ed'
+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})
+sha256sums=('edfa287d04bfcd03dd1c23277885b385ff47cfff92d0a116467996addba9ddd4'
+ 'SKIP')
+
+groups=('base')
+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}"
+ 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 MAKEJOBS=--jobs build
+}
+
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make test < /dev/null
+}
+
+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