diff options
author | root <root@rshg054.dnsready.net> | 2013-04-22 00:46:42 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-04-22 00:46:42 -0700 |
commit | 3faf011988bf1728989962e062a474aaa62b55f5 (patch) | |
tree | d362a44862fe1fd74611962e89293ec97d073e84 /community/fdm/PKGBUILD | |
parent | 031887a2047546085998f965214f5b682664de9b (diff) |
Mon Apr 22 00:46:41 PDT 2013
Diffstat (limited to 'community/fdm/PKGBUILD')
-rw-r--r-- | community/fdm/PKGBUILD | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/community/fdm/PKGBUILD b/community/fdm/PKGBUILD index 5546042ad..9cf7f7696 100644 --- a/community/fdm/PKGBUILD +++ b/community/fdm/PKGBUILD @@ -1,33 +1,35 @@ -# $Id: PKGBUILD 55396 2011-09-11 20:59:09Z bisson $ +# $Id: PKGBUILD 88671 2013-04-21 20:30:45Z jlichtblau $ +# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> # Maintainer: Gaetan Bisson <bisson@archlinux.org> # Contributor: Jeff Mickey <jeff@archlinux.org> # Contributor: Grigorios Bouzakis <grbzks@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') -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') +makedepends=('patch' 'sed') +options=('!makeflags') +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} } |