You are not logged in.

#1 2014-07-28 13:56:27

dsw
Member
Registered: 2014-07-28
Posts: 3

AUR upload error: (Invalid name: only lowercase letters are allowed.)

Hello everyone,

I am new to Arch Linux (use Manjaro KDE at the moment), but I am trying to build and upload a new package to AUR.
Tried it few times now with different errors. I have solved all, but now the last one doesn't let itself be solved.
I don't believe I have a split package. At least, I am new to this PKGBUILD thing, so I am not 100% sure.

My PKGBUILD file:

pkgname="aftershotpro2"
pkgver=2.0.3.25
pkgrel=4
pkgdesc="Professional Photo Workflow and RAW Conversion"
arch=('x86_64')
license=('custom')

depends=('libxdamage' 'glib2' 'pcre' 'libpng12' 'libgl' 'util-linux' 'freetype2' 'libsm' 'libxrender' 'fontconfig' 'bzip2' 'expat')
source=("http://dwnld.aftershotpro.com/updates/v2/2.0.3.25/AfterShotPro2_x86_64.rpm" LICENSE)
url="http://www.aftershotpro.com/en/products/aftershot-pro/default.html"


build() {
	bsdtar xf AfterShotPro2_x86_64.rpm
	mv ${srcdir}/opt ${pkgdir}/
	install -d ${pkgdir}/usr/share
	mv ${srcdir}/usr/bin ${pkgdir}/usr
	mv ${srcdir}/usr/share/{applications,pixmaps} ${pkgdir}/usr/share/
	install -d ${pkgdir}/usr/share/mime/packages/
	mv ${srcdir}/usr/share/mime/packages/* ${pkgdir}/usr/share/mime/packages/
	update-mime-database usr/share/mime
	}


md5sums=('3cc1b354622669434c86ac4c74ab8816'
         'f32fd199ee28182c6ea4f3a7d9d69c6c')

Please help me out...

Regards Dennis

Last edited by dsw (2014-07-28 14:49:26)

Offline

#2 2014-07-28 14:09:48

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: AUR upload error: (Invalid name: only lowercase letters are allowed.)

There already is https://aur.archlinux.org/packages/aftershotpro/

When posting configs, code or command output, please use [ code ] tags https://bbs.archlinux.org/help.php#bbcode

like this

It makes the code more readable and - in case of longer listings - more convenient to scroll through.

Offline

#3 2014-07-28 14:27:35

dsw
Member
Registered: 2014-07-28
Posts: 3

Re: AUR upload error: (Invalid name: only lowercase letters are allowed.)

Hi Karol,

Ok I will use the Codetag (

dit is mijn code

) in future.
I know there already is a aftershot, but is is not up to date and wanted to upload the latest version.

Still: any Idea what the problem might be with my PKGBUILD?

Regards,
Dennis

Offline

#4 2014-07-28 14:31:33

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: AUR upload error: (Invalid name: only lowercase letters are allowed.)

The most obvious problem with that PKGBUILD is that there is no package function.  It will not make a package.

Also, you can click 'edit' on your post to add the code tags to the initial post.

EDIT: Please do not submit a new package to the AUR simply because the current one is out of date.  Flag it out of date, and encourage the maintainer to update it.  If they don't, then request that it be orphaned and take over it.  There are already far too many duplicate packages in the AUR because people just submit random new crap without ever trying to maintain what is already there.

EDIT2: I see your PKGBUILD is based on the current one - that one is broken too.  So the last thing we need is to duplicate broken PKGBUILDs in the aur.

Last edited by Trilby (2014-07-28 14:33:48)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2014-07-28 14:33:57

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: AUR upload error: (Invalid name: only lowercase letters are allowed.)

dsw wrote:

I know there already is a aftershot, but is is not up to date and wanted to upload the latest version.

Please don't do this. Contact the maintainer of the current package to help get it up to date, don't upload a new PKGBUILD for an application that is already in the AUR.

https://wiki.archlinux.org/index.php/AU … do_I_do.3F

Last edited by Slithery (2014-07-28 14:35:12)


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#6 2014-07-28 14:35:34

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: AUR upload error: (Invalid name: only lowercase letters are allowed.)

dsw wrote:

I know there already is a aftershot, but is is not up to date and wanted to upload the latest version.

Don't do this, it will simply be removed as a duplicate.

The aftershot package hasn't even been flagged as out of date, so you obviously haven't done much to try to get that package updated.

As for what's wrong with your PKGBUILD, are you using mkaurball? If so, what does the .AURINFO file look like?

Edit, and for the record, just about everything about this PKGBUILD is wrong. Re-extracting the source, using mv, and calling update-mime-database are all wrong.

Last edited by Scimmia (2014-07-28 14:40:55)

Offline

#7 2014-07-28 14:53:18

dsw
Member
Registered: 2014-07-28
Posts: 3

Re: AUR upload error: (Invalid name: only lowercase letters are allowed.)

@ all: ok I will not upload this PKGBUILD. No Worries. I did flag the current "aftershot" as old.
Can someone please link me to a guide for newbees on how to build a correct PKGBUILD?
Or does someone has an Example?

THanks it advance.

Regards Dennis

Offline

#8 2014-07-28 15:06:44

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: AUR upload error: (Invalid name: only lowercase letters are allowed.)

Read the wiki https://wiki.archlinux.org/index.php/PKGBUILD and the related articles.

Offline

Board footer

Powered by FluxBB