git » kde5-pkgbuilds.git » main » tree

[main] / pkg-repo.sh

#!/bin/bash
set -e
PKG="$(echo *.pkg.tar.xz)"
REPO=/sources/pkg/armv7h/kde5
mv -v *.pkg.tar.xz $REPO
cd $REPO
if [ -e /etc/pacman.d/keys/armlfs-untested-key ]; then
	asignify sign -nN -S .sig /etc/pacman.d/keys/armlfs-untested-key $PKG
fi
repo-add -R kde5.db.tar.gz $PKG
pacman -Sy