Open Fosssil opened 1 year ago
I don't know how to make AUR package, if you can pull request for it that would be great !
I don't know how to make AUR package, if you can pull request for it that would be great !
Okay, no problem I will work on it
For AUR package usually the installation is done at system-level (so, for all users), while install.sh
installs elements only on the current user directories.
@vinceliuice can you implement please in install.sh
also an argument where we can define the destination path? It can be useful for AUR package to install for all users.
No problem!
No problem!
Thank you for the commit. There is just one issue: usually, when it is needed to create a package, it is built in an "isolated/fake environment" that usually is specified by a variable named $pkgdir
that corresponds to a fake root directory where the building system goes to put all the files there before to pack the package.
If the building system tries to copy the source files (for example your repo files) directly on /usr
or any other dir, it gets Permission Denied (because the building system can act only on its fakeroot environment to create the final pkg).
This is the reason it is needed to implement a specific argument to specify the rootdir. In this manner, the building system can run a command like ./install.sh -p $pkgdir
and it will know that all the source files must be copied in the fakeroot directory $pkgdir/usr
.
I think that a good solution could be the creation of a Makefile because it already has an option to install files in a chosen target dir.
In practice, you must use the same --dest
argument approach you used in this your install.sh file of WhiteSur-gtk-theme repo.
No problem
Thank you @vinceliuice . @Fosssil I created the package in AUR: https://aur.archlinux.org/packages/macsonoma-kde-theme-git
Also requested packaging by Chaotic AUR: https://github.com/chaotic-aur/packages/issues/2869
The package has been renamed to https://aur.archlinux.org/packages/plasma5-themes-macsonoma-git
Can you please provide a AUR package. If not, can I pull request for it ? Please let us know