[arch-commits] CVS update of extra/daemons/hylafax (PKGBUILD)
Paul Mattal
paul at archlinux.org
Mon Sep 3 13:06:54 UTC 2007
Date: Monday, September 3, 2007 @ 09:06:54
Author: paul
Path: /home/cvs-extra/extra/daemons/hylafax
Modified: PKGBUILD (1.12 -> 1.13)
upgpkg: hylafax 4.4.0-1
update to 4.4.0
----------+
PKGBUILD | 39 ++++++++++++++++++++++-----------------
1 file changed, 22 insertions(+), 17 deletions(-)
Index: extra/daemons/hylafax/PKGBUILD
diff -u extra/daemons/hylafax/PKGBUILD:1.12 extra/daemons/hylafax/PKGBUILD:1.13
--- extra/daemons/hylafax/PKGBUILD:1.12 Mon Sep 11 05:42:42 2006
+++ extra/daemons/hylafax/PKGBUILD Mon Sep 3 09:06:53 2007
@@ -1,11 +1,12 @@
-# $Id: PKGBUILD,v 1.12 2006/09/11 09:42:42 tpowa Exp $
-# Maintainer: gregor <gregor at archlinux.org>
+# $Id: PKGBUILD,v 1.13 2007/09/03 13:06:53 paul Exp $
+# Maintainer: Paul Mattal <paul at archlinux.org>
pkgname=hylafax
-pkgver=4.3.0
-pkgrel=2
+pkgver=4.4.0
+pkgrel=1
pkgdesc="Fax Server"
-arch=(i686 x86_64)
-install=hylafax.install
+arch=('i686' 'x86_64')
+install='hylafax.install'
+license=('custom')
depends=('libtiff' 'pam' 'ghostscript')
makedepends=('smtp-server')
url="http://www.hylafax.org/"
@@ -14,7 +15,7 @@
var/spool/hylafax/etc/hosts.hfaxd)
source=(ftp://ftp.hylafax.org/source/${pkgname}-${pkgver}.tar.gz hylafax \
hylafax.cron.daily config.local)
-md5sums=('15fbb3eb5fdf6def379799442a68da4e' '9b6700132ca65b0d5df91b585f18b9a5'\
+md5sums=('fa086c6654a6ccefb127ac0476101c25' '9b6700132ca65b0d5df91b585f18b9a5'\
'52beffe7dc296b4f9ce9fd0387f7804e' '67f19b7e06602aa27d6d4d96ddbd54b9')
# build as root for successful build!
@@ -26,17 +27,21 @@
useradd -u 10 -g uucp -d '/' -s /bin/false uucp &>/dev/null
useradd -u 69 -g daemon -d '/' -s /bin/false fax &>/dev/null
fi
- mkdir -p $startdir/pkg/usr/{bin,lib/fax,man,sbin,share/ghostscript/fonts}
- mkdir -p $startdir/pkg/var/{spool/hylafax,lock}
- mkdir -p $startdir/pkg/home/httpd/hylafax
- cd $startdir/src/${pkgname}-${pkgver}
+ mkdir -p $startdir/pkg/usr/{bin,lib/fax,man,sbin,share/ghostscript/fonts} \
+ || return 1
+ mkdir -p $startdir/pkg/var/{spool/hylafax,lock} || return 1
+ mkdir -p $startdir/pkg/home/httpd/hylafax || return 1
+ cd $startdir/src/${pkgname}-${pkgver} || return 1
- cp ../config.local .
- ./configure --nointeractive --with-OPTIMIZER="${CFLAGS}"
+ cp ../config.local . || return 1
+ ./configure --nointeractive --with-OPTIMIZER="${CFLAGS}" || return 1
make -j 1 || return 1
- make ROOT=$startdir/pkg install
- install -D -m 755 $startdir/src/hylafax $startdir/pkg/etc/rc.d/hylafax
- install -D -m 744 $startdir/src/hylafax.cron.daily $startdir/pkg/etc/cron.daily/hylafax
+ make ROOT=$startdir/pkg install || return 1
+ install -D -m 755 $startdir/src/hylafax $startdir/pkg/etc/rc.d/hylafax \
+ || return 1
+ install -D -m 744 $startdir/src/hylafax.cron.daily \
+ $startdir/pkg/etc/cron.daily/hylafax || return 1
+ # remove group if created
if [ $uucp_created -eq 1 ]; then
userdel uucp &>/dev/null
groupdel uucp &>/dev/null
@@ -44,5 +49,5 @@
fi
# add missing awk file for notify-4.1 script
install -D -m 755 $startdir/src/${pkgname}-${pkgver}/util/notify.awk \
- $startdir/pkg/var/spool/hylafax/bin/notify.awk
+ $startdir/pkg/var/spool/hylafax/bin/notify.awk || return 1
}
More information about the arch-commits
mailing list