summaryrefslogtreecommitdiff
path: root/community/metamail
diff options
context:
space:
mode:
Diffstat (limited to 'community/metamail')
-rw-r--r--community/metamail/PKGBUILD12
1 files changed, 6 insertions, 6 deletions
diff --git a/community/metamail/PKGBUILD b/community/metamail/PKGBUILD
index 9f45530ed..71922cd14 100644
--- a/community/metamail/PKGBUILD
+++ b/community/metamail/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 21419 2010-07-16 12:02:09Z spupykin $
+# $Id: PKGBUILD 66234 2012-02-23 05:08:28Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sekenre <sekenre at ukfsn dot org>
# Contributor: Daenyth <Daenyth+Arch [AT] gmail [DOT] com>
pkgname=metamail
pkgver=2.7
-pkgrel=5
+pkgrel=6
pkgdesc="Used to display and process MIME messages"
arch=('i686' 'x86_64')
url="http://packages.debian.org/stable/mail/metamail"
@@ -23,13 +23,13 @@ md5sums=('c6967e9bc5d3c919764b02df24efca01'
build() {
cd $srcdir/metamail-$pkgver.orig
- zcat $srcdir/metamail_$pkgver-54.diff.gz | patch -p1
+ patch -p1 <$srcdir/metamail_$pkgver-54.diff
sed -i 's|getline|xgetline|' metamail/uue.c src/metamail/uue.c
sh ./bootstrap
- sh ./configure --prefix=/usr || return 1
- make || return 1
- make DESTDIR=$pkgdir install || return 1
+ sh ./configure --prefix=/usr
+ make
+ make DESTDIR=$pkgdir install
install -D -m0644 $srcdir/license $pkgdir/usr/share/licenses/$pkgname/license
}