aurutils/scripts/entry

35 lines
465 B
Plaintext
Raw Permalink Normal View History

2022-06-12 16:30:01 +00:00
#!/bin/bash
KEYS=/opt/keys
LIST=/opt/packages.list
2022-07-13 17:53:26 +00:00
echo creating run/user/1000
sudo mkdir /run/user/1000
sudo chown build:build /run/user/1000
2022-06-12 16:30:01 +00:00
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