[aur-general] Aur error: Invalid name: only lowercase letters are allowed.
Hello, I'm trying to upload and updated PKGBUILD for my package spring-framework but I'm getting the error message "Invalid name: only lowercase letters are allowed.". I've never seen this before and also this is the first PKGBUILD with package splitting I've ever tried to upload so I guess it may be related (makepkg doesn't complain though). The significant parts of PKGBUILD look as follows: pkgname=('spring-framework' 'spring-framework-doc') pkgbase='spring-framework' pkgver=3.0.6 pkgrel=1 ... build() { ... } package_spring-framework() { ... } package_spring-framework-doc() { ... } Am I doing something wrong? Ondřej -- Cheers, Ondřej Kučera
On Sun, Oct 23, 2011 at 09:00:29PM +0200, Ondřej Kučera wrote:
Hello,
I'm trying to upload and updated PKGBUILD for my package spring-framework but I'm getting the error message "Invalid name: only lowercase letters are allowed.". I've never seen this before and also this is the first PKGBUILD with package splitting I've ever tried to upload so I guess it may be related (makepkg doesn't complain though). The significant parts of PKGBUILD look as follows:
pkgname=('spring-framework' 'spring-framework-doc') pkgbase='spring-framework' pkgver=3.0.6 pkgrel=1 ... build() { ... } package_spring-framework() { ... } package_spring-framework-doc() { ... }
Am I doing something wrong?
The AUR currently doesn't support split PKGBUILDs.
On Sun, Oct 23, 2011 at 09:00:29PM +0200, Ondřej Kučera wrote:
Hello,
I'm trying to upload and updated PKGBUILD for my package spring-framework but I'm getting the error message "Invalid name: only lowercase letters are allowed.". I've never seen this before and also this is the first PKGBUILD with package splitting I've ever tried to upload so I guess it may be related (makepkg doesn't complain though). The significant parts of PKGBUILD look as follows:
pkgname=('spring-framework' 'spring-framework-doc') pkgbase='spring-framework' pkgver=3.0.6 pkgrel=1 ... build() { ... } package_spring-framework() { ... } package_spring-framework-doc() { ... }
Am I doing something wrong?
Ondřej
-- Cheers, Ondřej Kučera
Nothing new here. The AUR does not allow split PKGBUILDs. You can work around it, for example, as I have with the pacman-git PKGBUILD: http://aur.archlinux.org/packages.php?ID=29937 d
2011/10/23 Dave Reisner <d@falconindy.com>:
On Sun, Oct 23, 2011 at 09:00:29PM +0200, Ondřej Kučera wrote:
Hello,
I'm trying to upload and updated PKGBUILD for my package spring-framework but I'm getting the error message "Invalid name: only lowercase letters are allowed.". I've never seen this before and also this is the first PKGBUILD with package splitting I've ever tried to upload so I guess it may be related (makepkg doesn't complain though). The significant parts of PKGBUILD look as follows:
pkgname=('spring-framework' 'spring-framework-doc') pkgbase='spring-framework' pkgver=3.0.6 pkgrel=1 ... build() { ... } package_spring-framework() { ... } package_spring-framework-doc() { ... }
Am I doing something wrong?
Ondřej
-- Cheers, Ondřej Kučera
Nothing new here. The AUR does not allow split PKGBUILDs. You can work around it, for example, as I have with the pacman-git PKGBUILD:
http://aur.archlinux.org/packages.php?ID=29937
d
Living and learning. I was trying to figure out wth was that (( 42 )) in the PKGBUILD and now I know. Thx. :) -- Rafael
Op 23-10-11 21:00, Ondřej Kučera schreef:
Hello,
I'm trying to upload and updated PKGBUILD for my package spring-framework but I'm getting the error message "Invalid name: only lowercase letters are allowed.". I've never seen this before and also this is the first PKGBUILD with package splitting I've ever tried to upload so I guess it may be related (makepkg doesn't complain though). The significant parts of PKGBUILD look as follows:
pkgname=('spring-framework' 'spring-framework-doc') pkgbase='spring-framework' pkgver=3.0.6 pkgrel=1 ... build() { ... } package_spring-framework() { ... } package_spring-framework-doc() { ... }
Am I doing something wrong?
Ondřej
you could add in the beginning pkgname='spring-framework' true && pkgname=('spring-framework' 'spring-framework-doc') then makepkg will not complain and build a split package and aur will accept it as it is a normal package and if you have per split descriptions you can add a global description at the end of your pkgbuild which will be picked up in aur aur is just not completly handeling splitted packages :) enjoy
Hi, On 23.10.2011 21:14, Ike Devolder wrote:
you could add in the beginning
pkgname='spring-framework' true && pkgname=('spring-framework' 'spring-framework-doc')
then makepkg will not complain and build a split package and aur will accept it as it is a normal package
and if you have per split descriptions you can add a global description at the end of your pkgbuild which will be picked up in aur
aur is just not completly handeling splitted packages :)
enjoy
Thank you all for your replies and suggestions, indeed it worked. Ondřej -- Cheers, Ondřej Kučera
participants (5)
-
Dave Reisner
-
Ike Devolder
-
Lukas Fleischer
-
Ondřej Kučera
-
rafael ff1