blob: fca5a7d9c1563c958a490812b1df709aa1f6a2c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
# Maintainer: Denis Yantarev <denis dot yantarev at gmail dot com>
# Contributor: SJ_UnderWater
# Contributor: Dominik Dingel <mail at wodar dot de>
# Contributor: William Udovich <nerdzrule7 at earthlink dot net>
# Contributor: Farhan Yousaf <farhany at xaviya dot com>
pkgname=netatalk
pkgver=4.0.8
pkgrel=1
pkgdesc='Open-source implementation of the Apple Filing Protocol'
url='https://netatalk.io'
license=('GPL-2.0-or-later')
source=("https://github.com/Netatalk/${pkgname}/releases/download/${pkgname}-${pkgver//./-}/${pkgname}-${pkgver}.tar.xz")
md5sums=('7e4cf3aed921350f8a398b100c035542')
arch=('x86_64' 'i686' 'pentium4' 'armv6h' 'armv7h' 'aarch64')
makedepends=('docbook-xsl'
'meson'
'unicode-character-database')
depends=('acl'
'bash'
'db5.3'
'glib2'
'glibc'
'libevent'
'libldap'
'libgcrypt'
'libxcrypt'
'pam'
'perl'
'perl-net-dbus')
optdepends=('localsearch: AFP Spotlight support'
'talloc: AFP Spotlight support'
'tinysparql: AFP Spotlight support'
'avahi>=0.6: Automatic service discovery support'
'krb5: Kerberos user authentication support'
'mariadb-libs: MySQL CNID backend support'
'libcups: Network printer queues support'
'libtirpc: Quota support'
'rpcsvc-proto: Quota support'
'libwrap: TCP wrappers support'
'cracklib: Weak password detection')
conflicts=('netatalk-ddp'
'netatalk2')
backup=('etc/afp.conf'
'etc/atalkd.conf'
'etc/extmap.conf'
'etc/papd.conf'
'etc/pam.d/netatalk')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
arch-meson . build \
--localstatedir /var/lib \
-Dwith-appletalk=true \
-Dwith-bdb-version=5.3 \
-Dwith-dbus-sysconf-path=/usr/share/dbus-1/system.d \
-Dwith-dtrace=false \
-Dwith-init-hooks=false \
-Dwith-lockfile-path=/run/netatalk.pid \
-Dwith-manual=man_only \
-Dwith-overwrite=true \
-Dwith-readmes=false \
-Dwith-spooldir=/var/spool/netatalk
meson compile -C build
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
meson install -C build --destdir "${pkgdir}"
}
|