24 lines
416 B
Bash
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
|
|
}
|