summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 18a64da43024ccf21ad66a0e53853a43b87f88df (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
# 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=3.1.18
pkgrel=1
pkgdesc='Open-source implementation of the Apple Filing Protocol'
url='https://netatalk.sourceforge.io'
license=('GPL2')

source=(https://github.com/Netatalk/${pkgname}/releases/download/${pkgname}-${pkgver//./-}/${pkgname}-${pkgver}.tar.bz2)
md5sums=('d41227251dece4f51bb12f7bb5fee148')

arch=('i686'
      'x86_64'
      'armv6h'
      'armv7h'
      'aarch64')

depends=('acl'
         'avahi>=0.6'
         'cracklib'
         'dbus-glib'
         'dbus-python'
         'libevent'
         'mariadb-libs'
         'perl'
         'python'
         'tdb>=1.4.5')

conflicts=('netatalk-ddp'
           'netatalk2')

backup=('etc/afp.conf'
        'etc/extmap.conf')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure \
    --prefix=/usr \
    --sbindir=/usr/bin \
    --sysconfdir=/etc \
    --localstatedir=/var/state \
    --enable-silent-rules \
    --enable-pgp-uam \
    --with-init-style=systemd \
    --with-cracklib \
    --with-cnid-cdb-backend \
    --without-tdb
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}