aurutils/scripts/entry
2022-06-12 18:30:01 +02:00

30 lines
370 B
Bash
Executable File

#!/bin/bash
KEYS=/opt/keys
LIST=/opt/packages.list
echo initializing repo
init-aur
if [ -f $KEYS ]; then
echo importing keys:
cat $KEYS
xargs -a $KEYS gpg --recv-keys
fi
echo building packages:
cat $LIST
if [ -f $LIST ]; then
sync-list "$LIST"
echo end repo:
tar --list -f build.db.tar.gz
echo produced new list:
cat "$LIST"
fi