summaryrefslogtreecommitdiff
path: root/data/netatalk/make.sh
blob: f786a3af2e9523bbc5a65cbdb9cc4f434601390f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
pkg:setup
AR=$(which "${PKG_TARG}-ar") pkg:configure --enable-cups=no --sysconfdir=/etc
make
pkg:install

pkg: mkdir -p /System/Library/LaunchDaemons
pkg: cp -a %/com.saurik.afpd.dns-sd.plist /System/Library/LaunchDaemons
pkg: cp -a %/net.sourceforge.netatalk.afpd.plist /System/Library/LaunchDaemons

{
    pkg: grep '^#' /etc/netatalk/AppleVolumes.default
    echo '~ home'
    echo '/ root'
} >AppleVolumes.default

chmod --reference="${PKG_DEST}/etc/netatalk/AppleVolumes.default" AppleVolumes.default
chown --reference="${PKG_DEST}/etc/netatalk/AppleVolumes.default" AppleVolumes.default

pkg: mv AppleVolumes.default /etc/netatalk/AppleVolumes.default