summaryrefslogtreecommitdiff
path: root/extra/hylafax/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/hylafax/PKGBUILD')
-rw-r--r--extra/hylafax/PKGBUILD17
1 files changed, 12 insertions, 5 deletions
diff --git a/extra/hylafax/PKGBUILD b/extra/hylafax/PKGBUILD
index ee95019de..8ca86f3c1 100644
--- a/extra/hylafax/PKGBUILD
+++ b/extra/hylafax/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 148782 2012-02-05 11:50:17Z ibiru $
+# $Id: PKGBUILD 157237 2012-04-26 13:06:28Z tpowa $
# Maintainer: Paul Mattal <paul@archlinux.org>
pkgname=hylafax
pkgver=6.0.5
-pkgrel=3
+pkgrel=4
pkgdesc="Fax Server"
arch=('i686' 'x86_64' 'mips64el')
install='hylafax.install'
@@ -18,13 +18,17 @@ source=(ftp://ftp.hylafax.org/source/${pkgname}-${pkgver}.tar.gz
hylafax.cron.daily
config.local
configure-6.0.5.patch
- hylafax-libtiff4.patch)
+ hylafax-libtiff4.patch
+ faxq.service
+ hfaxd.service)
md5sums=('eb9ac942354ad708e20e4583cec6615f'
'6602288a405324d8c8e3c5eac2bf19fd'
'52beffe7dc296b4f9ce9fd0387f7804e'
- '0d2ce24d918226a852539aebf57d3f4a'
+ '60f2a7e62c256ead4e9238cb31b35b90'
'51d9f639bb76e5e39cdc8e2ac07e208d'
- '3d239c186f24720e945508d349b069b1')
+ '3d239c186f24720e945508d349b069b1'
+ '9c8916a753106795fc3f40268889f645'
+ 'a0b5a008b7fbf1943d167e0d5eb32341')
build() {
cd "$srcdir/${pkgname}-${pkgver}"
@@ -48,6 +52,9 @@ package () {
"$pkgdir"/var/spool/hylafax/bin/notify.awk
# fix permission on /var/lock
chmod 1777 "$pkgdir"/var/lock
+ # add systemd files
+ install -D -m644 $srcdir/hfaxd.service $pkgdir/usr/lib/systemd/system/hfaxd.service
+ install -D -m644 $srcdir/faxq.service $pkgdir/usr/lib/systemd/system/faxq.service
install -D -m644 COPYRIGHT "$pkgdir"/usr/share/licenses/$pkgname/COPYRIGHT
}