[arch-commits] Commit in fetchmail/repos (extra-x86_64 extra-x86_64/PKGBUILD)

Allan McRae allan at archlinux.org
Sat Nov 7 08:28:28 EST 2009


    Date: Saturday, November 7, 2009 @ 08:28:27
  Author: allan
Revision: 58382

Merged revisions 58380 via svnmerge from 
svn+ssh://gerolde.archlinux.org/srv/svn-packages/fetchmail/trunk

........
  r58380 | allan | 2009-11-07 23:25:58 +1000 (Sat, 07 Nov 2009) | 2 lines
  
  upgpkg: fetchmail 6.3.8-6
      add tk optdepends (FS#14593)
........

Modified:
  fetchmail/repos/extra-x86_64/	(properties)
  fetchmail/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)


Property changes on: fetchmail/repos/extra-x86_64
___________________________________________________________________
Modified: svnmerge-integrated
   - /fetchmail/trunk:1-31335
   + /fetchmail/trunk:1-58381

Modified: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2009-11-07 13:26:56 UTC (rev 58381)
+++ extra-x86_64/PKGBUILD	2009-11-07 13:28:27 UTC (rev 58382)
@@ -4,11 +4,12 @@
 
 pkgname=fetchmail
 pkgver=6.3.8
-pkgrel=5
+pkgrel=6
 pkgdesc="A remote-mail retrieval utility"
 url="http://fetchmail.berlios.de/"
 arch=('i686' 'x86_64')
 depends=('glibc' 'openssl' 'python')
+optdepends=('tk: fetchmailconf')
 license=('GPL')
 install=fetchmail.install
 source=(http://download2.berlios.de/fetchmail/$pkgname-$pkgver.tar.bz2
@@ -19,17 +20,17 @@
 
 build() {
   export MAKEFLAGS="-j1"
-  cd $startdir/src/$pkgname-$pkgver
+  cd $srcdir/$pkgname-$pkgver
 
-  patch -up0 < ../fetchmail-SA-2007-02.txt
+  patch -up0 < $srcdir/fetchmail-SA-2007-02.txt
 
   ./configure --prefix=/usr --with-ssl=/usr
   make || return 1
-  make DESTDIR=$startdir/pkg install
+  make DESTDIR=$pkgdir install
 
-  install -D -m755 ../fetchmail.rc $startdir/pkg/etc/rc.d/fetchmail
-  install -D -m644 ../fetchmail.conf $startdir/pkg/etc/conf.d/fetchmail
+  install -Dm755 $srcdir/fetchmail.rc $pkgdir/etc/rc.d/fetchmail
+  install -Dm644 $srcdir/fetchmail.conf $pkgdir/etc/conf.d/fetchmail
 
   # "home" directory for pid file.
-  install -d -o 90 -g nobody -m700 $startdir/pkg/var/run/fetchmail
+  install -d -o 90 -g nobody -m700 $pkgdir/var/run/fetchmail
 }



More information about the arch-commits mailing list