Date: Tuesday, August 1, 2017 @ 17:00:31 Author: bisson Revision: 301468
archrelease: copy trunk to testing-i686, testing-x86_64 Added: s-nail/repos/testing-i686/ s-nail/repos/testing-i686/PKGBUILD (from rev 301467, s-nail/trunk/PKGBUILD) s-nail/repos/testing-x86_64/ s-nail/repos/testing-x86_64/PKGBUILD (from rev 301467, s-nail/trunk/PKGBUILD) -------------------------+ testing-i686/PKGBUILD | 53 ++++++++++++++++++++++++++++++++++++++++++++++ testing-x86_64/PKGBUILD | 53 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 106 insertions(+) Copied: s-nail/repos/testing-i686/PKGBUILD (from rev 301467, s-nail/trunk/PKGBUILD) =================================================================== --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2017-08-01 17:00:31 UTC (rev 301468) @@ -0,0 +1,53 @@ +# $Id$ +# Maintainer: Gaetan Bisson <bis...@archlinux.org> +# Contributor: Stéphane Gaudreault <steph...@archlinux.org> +# Contributor: Sergej Pupykin <pupykin.s@a...@gmail.com> +# Contributor: Andreas Wagner <andreas.wag...@em.uni-frankfurt.de> + +pkgname=s-nail +pkgver=14.9.1 +pkgrel=1 +pkgdesc='Mail processing system with a command syntax reminiscent of ed' +url='http://www.sdaoden.eu/code.html#s-nail' +license=('custom:BSD') +arch=('i686' 'x86_64') +depends=('openssl' 'krb5' 'libidn') +optdepends=('smtp-forwarder: for sending mail') +validpgpkeys=('232C220BCB5690A37BD22FFDEB66022795F382CE') +source=("https://www.sdaoden.eu/downloads/${pkgname}-${pkgver}.tar.xz"{,.asc}) +sha256sums=('f5a4a922f35dc62ff3fc6a5bfbdbec1a4839dce93016a0217e679155dc858201' + '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 +} + +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" +} Copied: s-nail/repos/testing-x86_64/PKGBUILD (from rev 301467, s-nail/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2017-08-01 17:00:31 UTC (rev 301468) @@ -0,0 +1,53 @@ +# $Id$ +# Maintainer: Gaetan Bisson <bis...@archlinux.org> +# Contributor: Stéphane Gaudreault <steph...@archlinux.org> +# Contributor: Sergej Pupykin <pupykin.s@a...@gmail.com> +# Contributor: Andreas Wagner <andreas.wag...@em.uni-frankfurt.de> + +pkgname=s-nail +pkgver=14.9.1 +pkgrel=1 +pkgdesc='Mail processing system with a command syntax reminiscent of ed' +url='http://www.sdaoden.eu/code.html#s-nail' +license=('custom:BSD') +arch=('i686' 'x86_64') +depends=('openssl' 'krb5' 'libidn') +optdepends=('smtp-forwarder: for sending mail') +validpgpkeys=('232C220BCB5690A37BD22FFDEB66022795F382CE') +source=("https://www.sdaoden.eu/downloads/${pkgname}-${pkgver}.tar.xz"{,.asc}) +sha256sums=('f5a4a922f35dc62ff3fc6a5bfbdbec1a4839dce93016a0217e679155dc858201' + '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 +} + +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" +}