[arch-commits] Commit in heirloom-mailx/repos (3 files)
Dan McGee
dan at archlinux.org
Wed Nov 16 20:25:47 UTC 2011
Date: Wednesday, November 16, 2011 @ 15:25:46
Author: dan
Revision: 142841
db-move: moved heirloom-mailx from [testing] to [core] (i686)
Added:
heirloom-mailx/repos/core-i686/PKGBUILD
(from rev 142838, heirloom-mailx/repos/testing-i686/PKGBUILD)
Deleted:
heirloom-mailx/repos/core-i686/PKGBUILD
heirloom-mailx/repos/testing-i686/
----------+
PKGBUILD | 128 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 64 insertions(+), 64 deletions(-)
Deleted: core-i686/PKGBUILD
===================================================================
--- core-i686/PKGBUILD 2011-11-16 20:25:37 UTC (rev 142840)
+++ core-i686/PKGBUILD 2011-11-16 20:25:46 UTC (rev 142841)
@@ -1,64 +0,0 @@
-# $Id$
-# Maintainer: Stéphane Gaudreault <stephane at archlinux.org>
-# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Andreas Wagner <Andreas dot Wagner at em dot uni-frankfurt dot de>
-
-pkgname=heirloom-mailx
-pkgver=12.5
-pkgrel=2
-pkgdesc="A commandline utility for sending and receiving email"
-arch=('i686' 'x86_64')
-url="http://heirloom.sourceforge.net/mailx.html"
-license=('custom')
-groups=('base')
-depends=('openssl' 'krb5')
-optdepends=('smtp-forwarder: for sending mail')
-replaces=('mailx' 'mailx-heirloom')
-provides=('mailx' 'mailx-heirloom')
-conflicts=('mailx' 'mailx-heirloom')
-backup=(etc/mail.rc)
-source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.xz)
-sha1sums=('1998dd6168a68400e533712ae7163c72b6a7c056')
-options=('!makeflags') # Does not build with MAKEFLAGS=-jX, X>1
-
-# source PKGBUILD && mksource
-mksource() {
- export CVSROOT=:pserver:anonymous at nail.cvs.sourceforge.net:/cvsroot/nail
- D=nail
- [ -d "${D}" ] && cvs up "${D}" || cvs co "${D}"
-
- _dirname=${pkgname}-${pkgver}
- mv $D ${_dirname}
- tar -cJv --exclude=CVS -f ${_dirname}.tar.xz ${_dirname}
- rm -rf ${_dirname}
-}
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- sed -i 's|/etc/nail.rc|/etc/mail.rc|g' mailx.1
-
- # For Linux and BSD, this should be set.
- echo "set bsdcompat" >> nail.rc
-
- sed -i "s/pg/less/" cmd1.c
-
- echo PREFIX=/usr \
- MAILRC=/etc/mail.rc \
- SENDMAIL=/usr/sbin/sendmail \
- MAILSPOOL=/var/spool/mail \
- UCBINSTALL=/bin/install > makeflags
-
- make `cat makeflags` IPv6=-DHAVE_IPv6_FUNCS
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" `cat makeflags` install
-
- # For compatibility with the old mailx program
- ln -sf mailx "${pkgdir}"/usr/bin/mail
- ln -sf mailx.1.gz "${pkgdir}"/usr/share/man/man1/mail.1.gz
-
- install -D -m0644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}
Copied: heirloom-mailx/repos/core-i686/PKGBUILD (from rev 142838, heirloom-mailx/repos/testing-i686/PKGBUILD)
===================================================================
--- core-i686/PKGBUILD (rev 0)
+++ core-i686/PKGBUILD 2011-11-16 20:25:46 UTC (rev 142841)
@@ -0,0 +1,64 @@
+# $Id$
+# Maintainer: 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=heirloom-mailx
+pkgver=12.5
+pkgrel=3
+pkgdesc="A commandline utility for sending and receiving email"
+arch=('i686' 'x86_64')
+url="http://heirloom.sourceforge.net/mailx.html"
+license=('custom')
+groups=('base')
+depends=('openssl' 'krb5')
+optdepends=('smtp-forwarder: for sending mail')
+replaces=('mailx' 'mailx-heirloom')
+provides=('mailx' 'mailx-heirloom')
+conflicts=('mailx' 'mailx-heirloom')
+backup=(etc/mail.rc)
+source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.xz)
+sha1sums=('1998dd6168a68400e533712ae7163c72b6a7c056')
+options=('!makeflags') # Does not build with MAKEFLAGS=-jX, X>1
+
+# source PKGBUILD && mksource
+mksource() {
+ export CVSROOT=:pserver:anonymous at nail.cvs.sourceforge.net:/cvsroot/nail
+ D=nail
+ [ -d "${D}" ] && cvs up "${D}" || cvs co "${D}"
+
+ _dirname=${pkgname}-${pkgver}
+ mv $D ${_dirname}
+ tar -cJv --exclude=CVS -f ${_dirname}.tar.xz ${_dirname}
+ rm -rf ${_dirname}
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ sed -i 's|/etc/nail.rc|/etc/mail.rc|g' mailx.1
+
+ # For Linux and BSD, this should be set.
+ echo "set bsdcompat" >> nail.rc
+
+ sed -i "s/pg/less/" cmd1.c
+
+ echo PREFIX=/usr \
+ MAILRC=/etc/mail.rc \
+ SENDMAIL=/usr/sbin/sendmail \
+ MAILSPOOL=/var/spool/mail \
+ UCBINSTALL=/bin/install > makeflags
+
+ make `cat makeflags` IPv6=-DHAVE_IPv6_FUNCS
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" `cat makeflags` install
+
+ # For compatibility with the old mailx program
+ ln -sf mailx "${pkgdir}"/usr/bin/mail
+ ln -sf mailx.1.gz "${pkgdir}"/usr/share/man/man1/mail.1.gz
+
+ install -D -m0644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
More information about the arch-commits
mailing list