[arch-commits] Commit in fetchmail/trunk (PKGBUILD)
Allan McRae
allan at archlinux.org
Sat Nov 7 13:25:58 UTC 2009
Date: Saturday, November 7, 2009 @ 08:25:58
Author: allan
Revision: 58380
upgpkg: fetchmail 6.3.8-6
add tk optdepends (FS#14593)
Modified:
fetchmail/trunk/PKGBUILD
----------+
PKGBUILD | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-11-07 13:15:29 UTC (rev 58379)
+++ PKGBUILD 2009-11-07 13:25:58 UTC (rev 58380)
@@ -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