I just created a new package 'obs-xdg-portal' and with containing a PKGBUILD, a .SRCINFO and a .gitignore, pushed it to AUR, but it didn't went well.
Firstly, the package is not available https://aur.archlinux.org/packages/obs-xdg-portal/
When I ran 'git push', it complained about hooks/update not being executable:
$ git push Enumerating objects: 4, done. Counting objects: 100% (4/4), done. Delta compression using up to 4 threads Compressing objects: 100% (4/4), done. Writing objects: 100% (4/4), 830 bytes | 830.00 KiB/s, done. Total 4 (delta 0), reused 0 (delta 0) hint: The 'hooks/update' hook was ignored because it's not set as executable. hint: You can disable this warning with `git config advice.ignoredHook false`. To ssh://aur.archlinux.org/obs-xdg-portal * [new branch] master -> master
Whenever I try to clone the directory again, it reports "nonexistent ref"
$ git clone ssh://firstname.lastname@example.org/obs-xdg-portal Cloning into 'obs-xdg-portal'... remote: Enumerating objects: 7, done. remote: Counting objects: 100% (7/7), done. remote: Compressing objects: 100% (7/7), done. remote: Total 7 (delta 0), reused 1 (delta 0) Receiving objects: 100% (7/7), done. warning: remote HEAD refers to nonexistent ref, unable to checkout.
Best regards, Rafael Fontenelle