[arch-commits] Commit in mailx/trunk (PKGBUILD)

Allan McRae allan at archlinux.org
Sat Apr 4 07:01:51 UTC 2009


    Date: Saturday, April 4, 2009 @ 03:01:50
  Author: allan
Revision: 33079

upgpkg: mailx 8.1.1-7

Modified:
  mailx/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-04-04 06:57:27 UTC (rev 33078)
+++ PKGBUILD	2009-04-04 07:01:50 UTC (rev 33079)
@@ -3,7 +3,7 @@
 # Committer: Judd Vinet <jvinet at zeroflux.org>
 pkgname=mailx
 pkgver=8.1.1
-pkgrel=6
+pkgrel=7
 pkgdesc="A commandline utility for sending email"
 arch=('i686' 'x86_64')
 url="http://www.opengroup.org/onlinepubs/007908799/xcu/mailx.html"
@@ -11,6 +11,7 @@
 groups=('base')
 depends=('glibc')
 optdepends=('smtp-forwarder: for sending mail')
+backup=('etc/mail.rc')
 source=(ftp://ftp.archlinux.org/other/mailx/$pkgname-$pkgver-fixed.tar.gz \
         mailx-$pkgver.patch mailx-gcc4.patch)
 md5sums=('63cad526ac64b57bcba2c0daaa1f3048' '905cfa35b5131524bfec0c677d456bd3'\
@@ -20,6 +21,10 @@
   cd $srcdir/$pkgname-$pkgver-fixed
   patch -Np1 -i $srcdir/mailx-$pkgver.patch || return 1
   patch -Np0 -i $srcdir/mailx-gcc4.patch || return 1
+  sed -i 's#/man/#/share/man/#' Makefile
   make all || return 1
   make DESTDIR=$pkgdir install
+  
+  install -dm755 $pkgdir/usr/share/licenses/mailx/
+  head -35 main.c > $pkgdir/usr/share/licenses/mailx/LICENSE
 }




More information about the arch-commits mailing list