mkdir -p "$PKGDIR"/usr/bin
mkdir -p "$PKGDIR"/etc
mkdir -p "$PKGDIR"/usr/share/bash-completion/completions
mkdir -p "$PKGDIR"/usr/share/zsh/functions/Completion/Debian/
mkdir -p "$PKGDIR"/usr/share/man/man{5,8}

cp apt-fast "$PKGDIR"/usr/bin/
cp apt-fast.conf "$PKGDIR"/etc/
install -m755 completions/bash/apt-fast \
    "$PKGDIR"/usr/share/bash-completion/completions/apt-fast
install -m755 completions/zsh/_apt-fast \
    "$PKGDIR"/usr/share/zsh/functions/Completion/Debian/_apt-fast
chown root:root "$PKGDIR"/usr/share/bash-completion/completions/apt-fast
chown root:root "$PKGDIR"/usr/share/zsh/functions/Completion/Debian/_apt-fast
cp man/apt-fast.8 "$PKGDIR"/usr/share/man/man8/
cp man/apt-fast.conf.5 "$PKGDIR"/usr/share/man/man5/
chmod +x "$PKGDIR"/usr/bin/apt-fast
