mkdir -p "$PKGDIR"/var/cache/acbs/{build,tarballs}
mkdir -p "$PKGDIR"/usr/{bin,lib}
mkdir -p "$PKGDIR"/etc/acbs

# completions
install -d "$PKGDIR/usr/share/bash-completion/completions/"
install -Dm644 completions/acbs-build "$PKGDIR/usr/share/bash-completion/completions/"
install -d "$PKGDIR/usr/share/zsh/functions/Completion/Linux/"
install -Dm644 completions/_acbs-build "$PKGDIR/usr/share/zsh/functions/Completion/Linux/"
install -d "$PKGDIR/usr/share/fish/vendor_completions.d/"
install -Dm644 completions/acbs-build.fish "$PKGDIR/usr/share/fish/vendor_completions.d/"

cat > "$PKGDIR"/etc/acbs/forest.conf << EOF
[default]
location = /var/lib/acbs/repo
EOF
