Date: Sunday, April 21, 2013 @ 22:30:35 Author: jlichtblau Revision: 88670
upgpkg: fdm 1.7-1 Modified: fdm/trunk/PKGBUILD Deleted: fdm/trunk/GNUmakefile.patch fdm/trunk/fdm.conf -------------------+ GNUmakefile.patch | 49 ------------------------------------------------- PKGBUILD | 34 ++++++++++++++++++---------------- fdm.conf | 2 -- 3 files changed, 18 insertions(+), 67 deletions(-) Deleted: GNUmakefile.patch =================================================================== --- GNUmakefile.patch 2013-04-21 17:26:00 UTC (rev 88669) +++ GNUmakefile.patch 2013-04-21 20:30:35 UTC (rev 88670) @@ -1,49 +0,0 @@ ---- fdm-1,6/GNUmakefile 2008-12-22 21:50:05.000000000 +0530 -+++ fdm-1.6/GNUmakefile 2009-05-09 19:07:21.000000000 +0530 -@@ -8,10 +8,7 @@ - - #DEBUG= 1 - --PREFIX?= /usr/local -- --BIN_OWNER= bin --BIN_GROUP= root -+PREFIX?= /usr - - CC= gcc - -@@ -27,8 +24,8 @@ - endif - - INSTALLDIR= install -d --INSTALLBIN= install -g $(BIN_OWNER) -o $(BIN_GROUP) -m 555 --INSTALLMAN= install -g $(BIN_OWNER) -o $(BIN_GROUP) -m 444 -+INSTALLBIN= install -m 0755 -+INSTALLMAN= install -m 0644 - - SRCS= fdm.c \ - attach.c buffer.c cleanup.c command.c connect.c io.c log.c netrc.c \ -@@ -72,7 +69,7 @@ - endif - - OBJS= $(patsubst %.c,%.o,$(SRCS)) --CPPFLAGS+= $(DEFS) -I. -I- $(INCDIRS) -+CPPFLAGS+= $(DEFS) -I. -iquote. $(INCDIRS) - ifdef DEBUG - CFLAGS+= -g -ggdb -DDEBUG - LDFLAGS+= -rdynamic -@@ -115,10 +112,10 @@ - install: - $(INSTALLDIR) $(DESTDIR)$(PREFIX)/bin - $(INSTALLBIN) $(PROG) $(DESTDIR)$(PREFIX)/bin/$(PROG) -- $(INSTALLDIR) $(DESTDIR)$(PREFIX)/man/man1 -- $(INSTALLMAN) $(PROG).1 $(DESTDIR)$(PREFIX)/man/man1/$(PROG).1 -- $(INSTALLDIR) $(DESTDIR)$(PREFIX)/man/man5 -- $(INSTALLMAN) $(PROG).conf.5 $(DESTDIR)$(PREFIX)/man/man5/$(PROG).conf.5 -+ $(INSTALLDIR) $(DESTDIR)$(PREFIX)/share/man/man1 -+ $(INSTALLMAN) $(PROG).1 $(DESTDIR)$(PREFIX)/share/man/man1/$(PROG).1 -+ $(INSTALLDIR) $(DESTDIR)$(PREFIX)/share/man/man5 -+ $(INSTALLMAN) $(PROG).conf.5 $(DESTDIR)$(PREFIX)/share/man/man5/$(PROG).conf.5 - - clean: - rm -f $(CLEANFILES) Modified: PKGBUILD =================================================================== --- PKGBUILD 2013-04-21 17:26:00 UTC (rev 88669) +++ PKGBUILD 2013-04-21 20:30:35 UTC (rev 88670) @@ -1,33 +1,35 @@ # $Id$ +# Maintainer: Jaroslav Lichtblau <dragonl...@aur.archlinux.org> # Maintainer: Gaetan Bisson <bis...@archlinux.org> # Contributor: Jeff Mickey <j...@archlinux.org> # Contributor: Grigorios Bouzakis <grb...@gmail.com> pkgname=fdm -pkgver=1.6 -pkgrel=3 +pkgver=1.7 +pkgrel=1 pkgdesc='Program to fetch and deliver mail' +arch=('i686' 'x86_64') url='http://fdm.sourceforge.net/' license=('BSD') -arch=('i686' 'x86_64') +depends=('openssl' 'tdb' 'zlib') +makedepends=('patch' 'sed') options=('!makeflags') -depends=('openssl' 'tdb' 'zlib') -source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz" - 'GNUmakefile.patch') -sha1sums=('fb8042f2355062848ff142c9604069b6657e6a82' - '0bddf0b0403ccee62190355f43fae84932c37436') +source=(http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz) +sha256sums=('484474094f124ce438c89dfab05519fe7b3aa8c8346d00f790a512ab950cef2a') build() { - cd "${srcdir}/${pkgname}-${pkgver}" - patch -p1 -i ../GNUmakefile.patch - make + cd ${srcdir}/${pkgname}-${pkgver} + + ./configure + make PREFIX=/usr MANDIR=/usr/share/man } package() { - cd "${srcdir}/${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" install + cd ${srcdir}/${pkgname}-${pkgver} + + make DESTDIR=${pkgdir} PREFIX=/usr MANDIR=/usr/share/man install - install -d "${pkgdir}"/usr/share/{doc,licenses}/"${pkgname}" - sed '3,17p;d' fdm.c > "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - mv examples "${pkgdir}/usr/share/doc/${pkgname}" + install -d ${pkgdir}/usr/share/{doc,licenses}/${pkgname} + sed '3,17p;d' fdm.c > ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + mv examples ${pkgdir}/usr/share/doc/${pkgname} } Deleted: fdm.conf =================================================================== --- fdm.conf 2013-04-21 17:26:00 UTC (rev 88669) +++ fdm.conf 2013-04-21 20:30:35 UTC (rev 88670) @@ -1,2 +0,0 @@ -# Default system-wide configuration file for fdm. -# You probably want to make a ~/.fdm.conf, and not edit this file.