[arch-commits] Commit in capi4hylafax/trunk (PKGBUILD)

Tobias Powalowski tpowa at archlinux.org
Sat May 16 16:38:10 EDT 2009


    Date: Saturday, May 16, 2009 @ 16:38:10
  Author: tpowa
Revision: 39438

upgpkg: capi4hylafax 010300-3

Modified:
  capi4hylafax/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-05-16 20:17:24 UTC (rev 39437)
+++ PKGBUILD	2009-05-16 20:38:10 UTC (rev 39438)
@@ -3,12 +3,12 @@
 
 pkgname=capi4hylafax
 pkgver=010300
-pkgrel=2
+pkgrel=3
 pkgdesc="capi plugin for hylafax to enable isdn faxing"
 arch=(i686 x86_64)
 url="ftp://ftp.avm.de/tools"
 license=('GPL')
-depends=('glibc' 'capi4k-utils' 'hylafax')
+depends=('glibc' 'capi4k-utils' 'hylafax' 'gcc-libs' 'libtiff')
 source=(ftp://ftp.avm.de/tools/capi4hylafax.linux/capi4hylafax-01.03.00.tar.gz
 	config.faxCAPI capi4hylafax.rc)
 md5sums=('d37dc652ac80d1525ef8693be55ee67f' '653b60695d21c128f020a86274ca9192'\
@@ -36,10 +36,11 @@
   chown 10 $pkgdir/var/spool/hylafax
   chgrp 14 $pkgdir/var/spool/hylafax
 # adding udev rule
-cat << EOF >> $pkgdir/etc/udev/rules.d/capi4hylafax.rules
+  mkdir -p $pkgdir/lib/udev/rules.d
+cat << EOF >> $pkgdir/lib/udev/rules.d/53-capi4hylafax.rules
 # CAPI devices
-KERNEL=="capi",		NAME="capi20", SYMLINK+="isdn/capi20", GROUP="uucp"
-KERNEL=="capi*",		NAME="capi/%n", GROUP="uucp"
+KERNEL="capi",		NAME="capi20", SYMLINK+="isdn/capi20", GROUP="uucp"
+KERNEL="capi*",		NAME="capi/%n", GROUP="uucp"
 EOF
 # fix c2faxadd
   sed -i -e 's#/etc/config.faxCAPI#/var/spool/hylafax/etc/config.faxCAPI#g' $pkgdir/usr/bin/c2faxaddmodem || return 1



More information about the arch-commits mailing list