You are not logged in.

#1 2006-06-01 21:24:31

basilburn
Member
Registered: 2005-12-09
Posts: 35

AUR won't accept PKGBUILD with numbers in the Package Name

Trying to submit a PKGBUILD called:

gstreamer0.10-pitfdll-cvs

I am getting an error "Invalid name: only lowercase letters are allowed."

Does this mean that numbers are not allowed in the package names in AUR?

The error goes away once I remove the numbers but that creates other errors, such as a mismatch with the name in the PKGBUILD file.

This package is just another plugin for the gstreamer0.10 series of packages in Arch.

Offline

#2 2006-06-01 21:38:30

russianpirate
Member
Registered: 2006-05-17
Posts: 161

Re: AUR won't accept PKGBUILD with numbers in the Package Name

# $Id: PKGBUILD,v 1.3 2006/05/30 23:33:50 notz Exp $
# Maintainer: Jan de Groot <jgc>

pkgname=gstreamer0.10-amrnb
pkgver=0.10.3
pkgrel=1
pkgdesc="AMR narrow-band speech codec Gstreamer plugin"
arch=(i686 x86_64)
depends=(gstreamer0.10-ugly amrnb)
makedepends=(intltool pkgconfig)
url="http://gstreamer.freedesktop.org/"
groups=(gstreamer0.10-plugins)
_relname=gst-plugins-ugly
source=(${url}/src/${_relname}/${_relname}-${pkgver}.tar.bz2
        uglyconf)
md5sums=(af6f238507b0040bf84fcbc6a241e559 825050222a558d0cedeea3cfd2f716ea)

build() {
  cd ${startdir}/src/${_relname}-${pkgver}
  plugins="amrnb"
  . ${startdir}/src/uglyconf
  rm -f ${startdir}/pkg/usr/lib/gstreamer-0.10/*.{,l}a
}

heres an example of gstreamer .10 plugin.. use that and just change the values u need to.. maybe u made some mistake

however, the only person who submitted gstreamer0.10 plugins to aur was a trusted user.. so maybe he had the right to bypass the error


Darkstar:
Athlon 64 3500+ (OC ~2.49ghz)
Leadtek GeForce 6800 128mb (unlocked/OC)
Rosewill Value DDR400 1GB
WDC SE 80GB
NEC 3550 DVDRW DL 16X

Offline

#3 2006-06-01 22:36:27

WillySilly
Member
Registered: 2005-01-14
Posts: 268

Re: AUR won't accept PKGBUILD with numbers in the Package Name

AUR doesnt accept periods in the pkgname. [community] doesnt have the problem

Offline

#4 2006-06-01 23:19:39

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: AUR won't accept PKGBUILD with numbers in the Package Name

I think you should report that as a bug in the AUR flyspray.

Offline

#5 2006-06-02 00:13:53

basilburn
Member
Registered: 2005-12-09
Posts: 35

Re: AUR won't accept PKGBUILD with numbers in the Package Name

Reported to the AUR bug tracker as

http://bugs.archlinux.org/task/4758

Offline

#6 2006-06-02 01:36:51

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: AUR won't accept PKGBUILD with numbers in the Package Name

try using lowercase numbers tongue tongue

Offline

#7 2006-06-02 21:06:23

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: AUR won't accept PKGBUILD with numbers in the Package Name

wasnt there some people rewriting the aur? aur 2.0 or something? with cmd-line access and everything... how's that going?


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

#8 2006-06-02 21:29:32

neotuli
Lazy Developer
From: London, UK
Registered: 2004-07-06
Posts: 1,204
Website

Re: AUR won't accept PKGBUILD with numbers in the Package Name

test1000 wrote:

wasnt there some people rewriting the aur? aur 2.0 or something? with cmd-line access and everything... how's that going?

*cough* planning until I legitimately have a lot of time on my hands


The suggestion box only accepts patches.

Offline

#9 2006-06-02 22:33:04

basilburn
Member
Registered: 2005-12-09
Posts: 35

Re: AUR won't accept PKGBUILD with numbers in the Package Name

B4 I forget what started this little mess, allow me to present:

# Contributor: Kurt B Cox <kurtbcox>
pkgname=gstreamer0.10-pitfdll-cvs
pkgver=20060421
pkgrel=1
pkgdesc="A set of plugins for Gstreamer for proprietary codecs"
url="http://pitfdll.sourceforge.net"
license="GPL"
depends=('gstreamer0.10-base' 'codecs')
makedepends=('cvs')
groups=(gstreamer0.10-plugins)
provides=('gstreamer0.10-pitfdll')
conflicts=('gstreamer0.10-pitfdll')
options=('NOLIBTOOL')

_cvsroot=":pserver:anonymous:@pitfdll.cvs.sourceforge.net:/cvsroot/pitfdll"
_cvsmod="pitfdll"

build() {
  cd $startdir/src
  msg "Connecting to $_cvsmod.sourceforge.net CVS server...."
  cvs -z3 -d $_cvsroot co -D $pkgver -f $_cvsmod
  
  msg "CVS checkout done or server timeout"
  msg "Starting make..."

  [ -d $_cvsmod-build ] && rm -r $_cvsmod-build
  cp -r $_cvsmod $_cvsmod-build
  cd $_cvsmod-build
  
  ./autogen.sh --prefix=/usr --with-dlldir=/usr/lib/win32
  make || return 1
  make DESTDIR=$startdir/pkg install || return 1

}
# vim:syntax=sh

Offline

#10 2006-06-02 22:55:14

lessthanjake
Member
From: Norway
Registered: 2005-11-09
Posts: 319
Website

Re: AUR won't accept PKGBUILD with numbers in the Package Name

basilburn wrote:

B4 I forget what started this little mess, allow me to present:

Thanks, bin missing this. Works fine for me!

Offline

Board footer

Powered by FluxBB