[aur-general] Does AUR reject splited packages PKGUBILD?
I wanted to update an splited packages PKGBUILD,but it said the pkgname does not allowed charcters but alphabetic,How can I upload such a PKGBUILD instead of split it into two PKGBUILDS?
On Thu, Mar 17, 2011 at 9:13 PM, 郑文辉 <techlivezheng@gmail.com> wrote:
I wanted to update an splited packages PKGBUILD,but it said the pkgname does not allowed charcters but alphabetic,How can I upload such a PKGBUILD instead of split it into two PKGBUILDS?
The AUR has problems parsing split pkgbuilds, you have to trick the AUR. There is an example here: https://aur.archlinux.org/packages/splittest/PKGBUILD
2011/3/18 Thomas S Hatch <thatch45@gmail.com>:
On Thu, Mar 17, 2011 at 9:13 PM, 郑文辉 <techlivezheng@gmail.com> wrote:
I wanted to update an splited packages PKGBUILD,but it said the pkgname does not allowed charcters but alphabetic,How can I upload such a PKGBUILD instead of split it into two PKGBUILDS?
The AUR has problems parsing split pkgbuilds, you have to trick the AUR. There is an example here: https://aur.archlinux.org/packages/splittest/PKGBUILD
I have noticed that,but it seems the splited packages could not be seen or searched,just can be download and compiled along with the base package?
On Thu, Mar 17, 2011 at 11:11 PM, 郑文辉 <techlivezheng@gmail.com> wrote:
2011/3/18 Thomas S Hatch <thatch45@gmail.com>:
On Thu, Mar 17, 2011 at 9:13 PM, 郑文辉 <techlivezheng@gmail.com> wrote:
I wanted to update an splited packages PKGBUILD,but it said the pkgname does not allowed charcters but alphabetic,How can I upload such a PKGBUILD instead of split it into two PKGBUILDS?
The AUR has problems parsing split pkgbuilds, you have to trick the AUR. There is an example here: https://aur.archlinux.org/packages/splittest/PKGBUILD
I have noticed that,but it seems the splited packages could not be seen or searched,just can be download and compiled along with the base package?
Yes, a split package in the AUR can only be seen by the basename, so using tools like yaourt will install all components of the split package. This is a known bug in the AUR, the problem is that parsing split pkgbuilds can be tricky to parse. Namcap recently got a grip on parsing split pkgbuilds, we might see this capability in the AUR, but don't hold your breath
在 2011年3月18日 下午1:22,Thomas S Hatch <thatch45@gmail.com> 写道:
On Thu, Mar 17, 2011 at 11:11 PM, 郑文辉 <techlivezheng@gmail.com> wrote:
2011/3/18 Thomas S Hatch <thatch45@gmail.com>:
On Thu, Mar 17, 2011 at 9:13 PM, 郑文辉 <techlivezheng@gmail.com> wrote:
I wanted to update an splited packages PKGBUILD,but it said the pkgname does not allowed charcters but alphabetic,How can I upload such a PKGBUILD instead of split it into two PKGBUILDS?
The AUR has problems parsing split pkgbuilds, you have to trick the AUR. There is an example here: https://aur.archlinux.org/packages/splittest/PKGBUILD
I have noticed that,but it seems the splited packages could not be seen or searched,just can be download and compiled along with the base package?
Yes, a split package in the AUR can only be seen by the basename, so using tools like yaourt will install all components of the split package.
This is a known bug in the AUR, the problem is that parsing split pkgbuilds can be tricky to parse.
Namcap recently got a grip on parsing split pkgbuilds, we might see this capability in the AUR, but don't hold your breath
Okay,before that,i think split them into seperate PKGBUILD is better way,even a bit more work need be done. Thank you.
participants (2)
-
Thomas S Hatch
-
郑文辉