summaryrefslogtreecommitdiff
path: root/community/fdm
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/fdm
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/fdm')
-rw-r--r--community/fdm/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/community/fdm/PKGBUILD b/community/fdm/PKGBUILD
new file mode 100644
index 000000000..9cf7f7696
--- /dev/null
+++ b/community/fdm/PKGBUILD
@@ -0,0 +1,35 @@
+# $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.7
+pkgrel=1
+pkgdesc='Program to fetch and deliver mail'
+arch=('i686' 'x86_64')
+url='http://fdm.sourceforge.net/'
+license=('BSD')
+depends=('openssl' 'tdb' 'zlib')
+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}
+
+ ./configure
+ make PREFIX=/usr MANDIR=/usr/share/man
+}
+
+package() {
+ 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}
+}