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

Allan McRae allan at archlinux.org
Fri Mar 20 23:44:40 UTC 2009


    Date: Friday, March 20, 2009 @ 19:44:40
  Author: allan
Revision: 30570

upgpkg: mailx 8.1.1-6

Modified:
  mailx/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-03-20 23:19:44 UTC (rev 30569)
+++ PKGBUILD	2009-03-20 23:44:40 UTC (rev 30570)
@@ -3,22 +3,23 @@
 # Committer: Judd Vinet <jvinet at zeroflux.org>
 pkgname=mailx
 pkgver=8.1.1
-pkgrel=5
+pkgrel=6
 pkgdesc="A commandline utility for sending email"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
 url="http://www.opengroup.org/onlinepubs/007908799/xcu/mailx.html"
 license=('BSD')
 groups=('base')
 depends=('glibc')
+optdepends=('smtp-forwarder: for sending mail')
 source=(ftp://ftp.archlinux.org/other/mailx/$pkgname-$pkgver-fixed.tar.gz \
         mailx-$pkgver.patch mailx-gcc4.patch)
 md5sums=('63cad526ac64b57bcba2c0daaa1f3048' '905cfa35b5131524bfec0c677d456bd3'\
          '8716c7c7b3f5d348443230e2fe543bf6')
 
 build() {
-  cd $startdir/src/$pkgname-$pkgver-fixed
-  patch -Np1 -i ../mailx-$pkgver.patch || return 1
-  patch -Np0 -i ../mailx-gcc4.patch || return 1
+  cd $srcdir/$pkgname-$pkgver-fixed
+  patch -Np1 -i $srcdir/mailx-$pkgver.patch || return 1
+  patch -Np0 -i $srcdir/mailx-gcc4.patch || return 1
   make all || return 1
-  make DESTDIR=$startdir/pkg install
+  make DESTDIR=$pkgdir install
 }




More information about the arch-commits mailing list