# vim: ft=sh # Folders AURDIR="$HOME/aur" AURDEST="$AURDIR/Pkgbuilds" PKGDEST="$AURDIR/Packages" SRCDEST="$AURDIR/Source" test -d "$AURDEST" || mkdir -p "$AURDEST" || exit 1 test -d "$PKGDEST" || mkdir -p "$PKGDEST" || exit 1 test -d "$SRCDEST" || mkdir -p "$SRCDEST" || exit 1 # GnuPG Signatures export GNUPGHOME="$AURDIR/gnupg" test -d "$GNUPGHOME" || mkdir -p "$GNUPGHOME" && chmod go-w "$GNUPGHOME" || exit 1 test -e "$GNUPGHOME/gpg.conf" || cat >"$GNUPGHOME/gpg.conf" <