summaryrefslogtreecommitdiff
path: root/core/s-nail/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/s-nail/PKGBUILD')
-rw-r--r--core/s-nail/PKGBUILD25
1 files changed, 19 insertions, 6 deletions
diff --git a/core/s-nail/PKGBUILD b/core/s-nail/PKGBUILD
index 222e1b37d..a51680193 100644
--- a/core/s-nail/PKGBUILD
+++ b/core/s-nail/PKGBUILD
@@ -1,20 +1,26 @@
-# $Id: PKGBUILD 202657 2013-12-23 17:15:07Z bisson $
+# $Id: PKGBUILD 205863 2014-02-12 06:21:09Z bisson $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Stéphane Gaudreault <stephane@archlinux.org>
# Contributor: Sergej Pupykin <pupykin.s@arch@gmail.com>
# Contributor: Andreas Wagner <Andreas.Wagner@em.uni-frankfurt.de>
pkgname=s-nail
-pkgver=14.5
-pkgrel=1
+pkgver=14.5.2
+pkgrel=4
pkgdesc='Mail processing system with a command syntax reminiscent of ed'
-url='http://sourceforge.net/projects/s-nail/'
+url='http://sdaoden.users.sourceforge.net/code.html#s-nail'
license=('custom:BSD')
arch=('i686' 'x86_64' 'mips64el')
depends=('openssl')
optdepends=('smtp-forwarder: for sending mail')
-source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}-${pkgver//./_}.tar.gz")
-sha1sums=('0c7341f7404f7113a3c4ed915adfed720379e8e7')
+source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}-${pkgver//./_}.tar.xz"
+ 'mimeheader.patch'
+ 'maildir.patch'
+ 'sort.patch')
+sha1sums=('26ad43f5f41b429d5f13a3ce73a3dff75325950c'
+ 'e72ed84f584ebc50eb9d04779b8b754afa446bf4'
+ '9ba91a0c697c121d9de4ff67766ec90f4ee354b5'
+ '909da731e590d1d2877ed38bed667440a02d1259')
groups=('base')
backup=('etc/mail.rc')
@@ -22,6 +28,13 @@ 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 ../mimeheader.patch
+ patch -p1 -i ../maildir.patch
+ patch -p1 -i ../sort.patch
+}
+
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
make \