[arch-commits] Commit in fdm/trunk (PKGBUILD)
Gaetan Bisson
bisson at archlinux.org
Mon Dec 22 22:12:53 UTC 2014
Date: Monday, December 22, 2014 @ 23:12:52
Author: bisson
Revision: 124370
upstream update, revert bikeshedding
Modified:
fdm/trunk/PKGBUILD
----------+
PKGBUILD | 31 ++++++++++++++++---------------
1 file changed, 16 insertions(+), 15 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-12-22 19:15:00 UTC (rev 124369)
+++ PKGBUILD 2014-12-22 22:12:52 UTC (rev 124370)
@@ -5,31 +5,32 @@
# Contributor: Grigorios Bouzakis <grbzks at gmail.com>
pkgname=fdm
-pkgver=1.7
+pkgver=1.8
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')
+source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha1sums=('25c0ebc0c2b43984d04c82d0ba3909acf7403df7')
+
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
+ 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
+ cd "${srcdir}/${pkgname}-${pkgver}"
- 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}
+ make DESTDIR="${pkgdir}" PREFIX=/usr MANDIR=/usr/share/man install
+
+ install -d "${pkgdir}/usr/share/licenses/${pkgname}"
+ sed '3,17p;d' fdm.c > "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+ install -d "${pkgdir}/usr/share/doc/${pkgname}"
+ cp -a examples "${pkgdir}/usr/share/doc/${pkgname}"
}
More information about the arch-commits
mailing list