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

Gaetan Bisson bisson at archlinux.org
Sat Sep 5 23:27:44 UTC 2015


    Date: Sunday, September 6, 2015 @ 01:27:43
  Author: bisson
Revision: 245343

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

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

-------------------------+
 testing-i686/PKGBUILD   |   52 ++++++++++++++++++++++++++++++++++++++++++++++
 testing-x86_64/PKGBUILD |   52 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 104 insertions(+)

Copied: s-nail/repos/testing-i686/PKGBUILD (from rev 245342, s-nail/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2015-09-05 23:27:43 UTC (rev 245343)
@@ -0,0 +1,52 @@
+# $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.5
+pkgrel=1
+pkgdesc='Mail processing system with a command syntax reminiscent of ed'
+url='http://sdaoden.users.sourceforge.net/code.html#s-nail'
+license=('custom:BSD')
+arch=('i686' 'x86_64')
+depends=('openssl' 'krb5')
+optdepends=('smtp-forwarder: for sending mail')
+validpgpkeys=('232C220BCB5690A37BD22FFDEB66022795F382CE')
+source=("https://downloads.sourceforge.net/project/${pkgname}/${pkgname}-${pkgver//./_}.tar"{.xz,.asc})
+sha1sums=('559244068b1c8086233e8891bb0fef273475afb5' '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/testing-x86_64/PKGBUILD (from rev 245342, s-nail/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2015-09-05 23:27:43 UTC (rev 245343)
@@ -0,0 +1,52 @@
+# $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.5
+pkgrel=1
+pkgdesc='Mail processing system with a command syntax reminiscent of ed'
+url='http://sdaoden.users.sourceforge.net/code.html#s-nail'
+license=('custom:BSD')
+arch=('i686' 'x86_64')
+depends=('openssl' 'krb5')
+optdepends=('smtp-forwarder: for sending mail')
+validpgpkeys=('232C220BCB5690A37BD22FFDEB66022795F382CE')
+source=("https://downloads.sourceforge.net/project/${pkgname}/${pkgname}-${pkgver//./_}.tar"{.xz,.asc})
+sha1sums=('559244068b1c8086233e8891bb0fef273475afb5' '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