You are not logged in.

#1 2014-06-18 15:10:14

starfry
Member
From: Surrey, UK
Registered: 2010-08-18
Posts: 238

[SOLVED] PKGBUILD "optdepends" reason displays incorrectly on AUR site

I just uploaded a package to AUR (https://aur.archlinux.org/packages/gsmartcontrol-svn) that I derived from the Community package.

I notice that the AUR page misinterprets the "optdepends" reason text and lists them as packages.

From the docs:

optdepends (array)

    An array of packages (and accompanying reasons) that are not essential for base functionality, but may be necessary to make full use of the contents of this package. optdepends are currently for informational purposes only and are not utilized by pacman during dependency resolution. The format for specifying optdepends is:

    optdepends=('fakeroot: for makepkg usage as normal user')

My package contains:

optdepends=('polkit: to run gsmartcontrol directly from menu')

purely because the main package had it there.

Is this a bug on the AUR site or am I doing something wrong?

Many thanks.

Last edited by starfry (2014-06-18 16:39:58)

Offline

#2 2014-06-18 15:17:36

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

Re: [SOLVED] PKGBUILD "optdepends" reason displays incorrectly on AUR site

There's no .AURINFO in your source tarball. You didn't follow the instructions on the upload page.

Online

#3 2014-06-18 15:19:11

starfry
Member
From: Surrey, UK
Registered: 2010-08-18
Posts: 238

Re: [SOLVED] PKGBUILD "optdepends" reason displays incorrectly on AUR site

i thought that was optional right now and I don't think that's the cause of this problem, is it ?

Offline

#4 2014-06-18 15:22:09

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,175
Website

Re: [SOLVED] PKGBUILD "optdepends" reason displays incorrectly on AUR site

starfry wrote:

i thought that was optional right now and I don't think that's the cause of this problem, is it ?

It'll soon be mandatory so you'd better move to using one (actually, none of my packages are accepted unless I use mkaurball, so I'm kind of tied into using it).


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#5 2014-06-18 15:23:51

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

Re: [SOLVED] PKGBUILD "optdepends" reason displays incorrectly on AUR site

Yes, it is optional, but it's what's causing your current problem.

Online

#6 2014-06-18 16:39:09

starfry
Member
From: Surrey, UK
Registered: 2010-08-18
Posts: 238

Re: [SOLVED] PKGBUILD "optdepends" reason displays incorrectly on AUR site

I was just trying to to a quick upload which is why I didn't take the time to learn about the change, but I have done now and reapplied the package. Problem solved.
I'll do so for my other packages shortly...

Offline

Board footer

Powered by FluxBB