diff options
Diffstat (limited to 'core/s-nail/PKGBUILD')
-rw-r--r-- | core/s-nail/PKGBUILD | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/core/s-nail/PKGBUILD b/core/s-nail/PKGBUILD index afdc8a507..21c91e6ca 100644 --- a/core/s-nail/PKGBUILD +++ b/core/s-nail/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 204556 2014-01-22 16:33:11Z bisson $ +# $Id: PKGBUILD 205003 2014-02-02 20:56:12Z bisson $ # Maintainer: Gaetan Bisson <bisson@archlinux.org> # Contributor: Stéphane Gaudreault <stephane@archlinux.org> # Contributor: Sergej Pupykin <pupykin.s@arch@gmail.com> @@ -6,15 +6,17 @@ pkgname=s-nail pkgver=14.5.2 -pkgrel=1 +pkgrel=2 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') optdepends=('smtp-forwarder: for sending mail') -source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}-${pkgver//./_}.tar.xz") -sha1sums=('26ad43f5f41b429d5f13a3ce73a3dff75325950c') +source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}-${pkgver//./_}.tar.xz" + 'sort.patch') +sha1sums=('26ad43f5f41b429d5f13a3ce73a3dff75325950c' + '909da731e590d1d2877ed38bed667440a02d1259') groups=('base') backup=('etc/mail.rc') @@ -22,6 +24,11 @@ replaces=('mailx' 'mailx-heirloom' 'heirloom-mailx') provides=('mailx' 'mailx-heirloom' 'heirloom-mailx') conflicts=('mailx' 'mailx-heirloom' 'heirloom-mailx') +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + patch -p1 -i ../sort.patch # http://sourceforge.net/mailarchive/message.php?msg_id=31906477 +} + build() { cd "${srcdir}/${pkgname}-${pkgver}" make \ |