laminar-config/PKGBUILD
2024-12-15 00:43:41 -08:00

24 lines
416 B
Bash

pkgname=laminar-config
pkgver=1
pkgrel=1
arch=("any")
prepare()
{
if git status; then
git pull
else
git clone ../.git "${srcdir}"
fi
}
package()
{
for d in contexts jobs scripts; do
mkdir -vp "${pkgdir}/var/lib/laminar/cfg/${d}"
for f in $(find "$d" -type f -not -name '.*'); do
install "$f" "${pkgdir}/var/lib/laminar/cfg/${f}"
done
done
}