17 lines
404 B
Bash
Executable file
17 lines
404 B
Bash
Executable file
#!/bin/bash
|
|
contextRoot="$(mktemp -d)";
|
|
git clone https://aur.archlinux.org/libcamera-git.git "$contextRoot";
|
|
|
|
pushd "$contextRoot" > /dev/null;
|
|
|
|
sed -i \
|
|
-e "s/^\(provides=(.*\)\()\)/\1 \"libcamera-base.so\" \"libcamera.so\"\2/" \
|
|
-e "s/^\(conflicts=(.*\)\()\)/\1 \"libcamera-ipa\"\2/" \
|
|
PKGBUILD;
|
|
|
|
makepkg --noconfirm;
|
|
yay --noconfirm -U ./*.zst;
|
|
|
|
popd > /dev/null;
|
|
|
|
rm -rf "$contextRoot";
|