[arch-commits] Commit in s-nail/repos (4 files)

Jan de Groot jgc at archlinux.org
Sat Mar 4 23:03:57 UTC 2017


    Date: Saturday, March 4, 2017 @ 23:03:56
  Author: jgc
Revision: 290007

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  s-nail/repos/staging-i686/
  s-nail/repos/staging-i686/PKGBUILD
    (from rev 290006, s-nail/trunk/PKGBUILD)
  s-nail/repos/staging-x86_64/
  s-nail/repos/staging-x86_64/PKGBUILD
    (from rev 290006, s-nail/trunk/PKGBUILD)

-------------------------+
 staging-i686/PKGBUILD   |   53 ++++++++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD |   53 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 106 insertions(+)

Copied: s-nail/repos/staging-i686/PKGBUILD (from rev 290006, s-nail/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2017-03-04 23:03:56 UTC (rev 290007)
@@ -0,0 +1,53 @@
+# $Id$
+# 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.8.16
+pkgrel=2
+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=('9b6123499eea070d6f6c242661aed1522826d9fa78abc26d55e5dc2339b959df'
+            '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 \
+		PREFIX=/usr \
+		SYSCONFDIR=/etc \
+		LIBEXECDIR=/usr/lib \
+		MAILSPOOL=/var/spool/mail \
+		SID= NAIL=mail \
+		WANT_AUTOCC=0 \
+		config
+
+	make build
+}
+
+check() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make test
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make DESTDIR="${pkgdir}" packager-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/staging-x86_64/PKGBUILD (from rev 290006, s-nail/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2017-03-04 23:03:56 UTC (rev 290007)
@@ -0,0 +1,53 @@
+# $Id$
+# 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.8.16
+pkgrel=2
+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=('9b6123499eea070d6f6c242661aed1522826d9fa78abc26d55e5dc2339b959df'
+            '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 \
+		PREFIX=/usr \
+		SYSCONFDIR=/etc \
+		LIBEXECDIR=/usr/lib \
+		MAILSPOOL=/var/spool/mail \
+		SID= NAIL=mail \
+		WANT_AUTOCC=0 \
+		config
+
+	make build
+}
+
+check() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make test
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make DESTDIR="${pkgdir}" packager-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