Like this?
url="https://gitlab.com/s4ndm4n82/$pkgname/-/tree/main/" #My original one
eos_url="https://raw.githubusercontent.com/endeavouros-team/PKGBUILDS/master/eos-bash-shared"
source=(
$eos_url/eos-bash-shared
$url/$pkgname
)
package() {
install -Dm644 eos-script-lib-yad $pkgdir/usr/share/endeavouros/scripts/eos-script-lib-yad
install -Dm755$pkgname $pkgdir/usr/share/$pkgnmae
}
Most are used as examples in the above code just want to know if I understood correctly what @dalto said.
P.S: Going to go to bed now it’s 2.15 AM have to get up at 6.15 AM. I will reply tomorrow.