summaryrefslogtreecommitdiff
path: root/community/mailutils
diff options
context:
space:
mode:
Diffstat (limited to 'community/mailutils')
-rw-r--r--community/mailutils/PKGBUILD43
-rw-r--r--community/mailutils/build-fix.patch13
-rw-r--r--community/mailutils/mailutils.install20
3 files changed, 0 insertions, 76 deletions
diff --git a/community/mailutils/PKGBUILD b/community/mailutils/PKGBUILD
deleted file mode 100644
index c1649d573..000000000
--- a/community/mailutils/PKGBUILD
+++ /dev/null
@@ -1,43 +0,0 @@
-# $Id: PKGBUILD 92555 2013-06-08 11:18:51Z bpiotrowski $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
-
-pkgname=mailutils
-pkgver=2.2
-pkgrel=7
-pkgdesc="MUA command line tool (mailx)"
-arch=(i686 x86_64)
-url="http://www.gnu.org/software/mailutils/"
-license=('GPL')
-depends=('libldap' 'pam' 'gnutls')
-makedepends=('emacs')
-conflicts=('libsieve')
-install=mailutils.install
-options=(zipman !emptydirs)
-source=(http://ftp.gnu.org/gnu/mailutils/mailutils-$pkgver.tar.bz2
- build-fix.patch)
-md5sums=('834d2f616b922856127ecfe6c2de7d1a'
- 'e83709ffdcdb257dfab443ef77c89574')
-
-prepare() {
- cd "$srcdir/mailutils-$pkgver"
- patch -p1 <$srcdir/build-fix.patch
-}
-
-build() {
- cd "$srcdir/mailutils-$pkgver"
- ./configure --prefix=/usr --with-gdbm --with-gnutls \
- --libexecdir=/usr/lib/$pkgname --without-fribidi \
- --without-tcp-wrappers --sbindir=/usr/bin \
- --without-python --without-guile
- make -j1
-}
-
-package() {
- cd "$srcdir/mailutils-$pkgver"
- make -j1 DESTDIR=$pkgdir install
- rm -f $pkgdir/usr/share/info/dir
- mv $pkgdir/usr/bin/mail $pkgdir/usr/bin/gnu-mail
- mv $pkgdir/usr/share/man/man1/mail.1 $pkgdir/usr/share/man/man1/gnu-mail.1
- chown -R root:root $pkgdir
-}
diff --git a/community/mailutils/build-fix.patch b/community/mailutils/build-fix.patch
deleted file mode 100644
index ec4afd5e3..000000000
--- a/community/mailutils/build-fix.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -wbBur mailutils-2.2/lib/Makefile.in mailutils-2.2.q/lib/Makefile.in
---- mailutils-2.2/lib/Makefile.in 2010-09-08 13:58:58.000000000 +0400
-+++ mailutils-2.2.q/lib/Makefile.in 2013-05-29 14:51:14.064888989 +0400
-@@ -1861,7 +1861,8 @@
- -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
- -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
- -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
-- -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
-+ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
-+ -e 's|_GL_WARN_ON_USE (gets.*||'; \
- } > $@-t && \
- mv $@-t $@
-
diff --git a/community/mailutils/mailutils.install b/community/mailutils/mailutils.install
deleted file mode 100644
index 03b451b3e..000000000
--- a/community/mailutils/mailutils.install
+++ /dev/null
@@ -1,20 +0,0 @@
-infodir=usr/share/info
-filelist=(mailutils.info mailutils.info-1 mailutils.info-2)
-
-post_install() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
- install-info $infodir/$file.gz $infodir/dir 2> /dev/null
- done
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
- install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
- done
-}