You are not logged in.
Hi I want to package the Android Development Kit and have met the following problem when modifying the PKGBUILD: The URL
contains underscores. If I replace android-sdk and m5-rc15 with $pkgname and $pkgver respectively makepkg fails due to a wrong URL. I believe it thinks the variables are called pkgname_ and pkgver_.
Is there a way to escape underscores in the PKGBUILD?
Offline
Use the usual bash method - wrap the variable name in curly brackets. I.e. ${pkgname} instead of $pkgname
Offline