You are not logged in.

#1 2007-07-23 18:41:26

Uzytkownik
Member
Registered: 2007-07-07
Posts: 20
Website

Problem with AUR

I have some problems with AUR and makepkg.
Here's PKGBUILD:

pkgname=pan
pkgver=0.131
pkgrel=1
pkgdesc="a GNOME newsreader"
arch=('i686' 'x86_64')
license=('GPL')
url=http://pan.rebelbase.com/
conflicts=()
depends=('gtkspell', 'gmime', 'pcre')
makedepends=('pkgconfig')
source=http://pan.rebelbase.com/download/releases/$pkgver/source/pan-$pkgver.tar.gz
md5sums=(b7fcd12222e58df6da77b1c574a8d66f)

build() {
        cd $startdir/src/$pkgname-$pkgver
        ./configure --prefix=/usr 
        make || return 1
        make DESTDIR=$startdir/pkg install
}

1. If I run makepkg it says It cannot solve dependences. However pacman -Q says I have all of them
2. If I try to upload it to AUR it says that such PKGBUILD does not exists.

What's wrong

PS. I behind firewall so I can't use any CVS to fetch AUR.


I've probably left my head... somewhere. Please wait untill I find it.

Offline

#2 2007-07-23 18:47:39

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: Problem with AUR

1) Don't separate your depends with commas. Just whitespace.
2) You need to tarball your PKGBUILD to submit to the AUR.

Have you read AUR User Guidelines  and Arch Packaging Standards ?  They're important.

Last edited by Cerebral (2007-07-23 18:48:46)

Offline

#3 2007-07-23 18:48:04

Uzytkownik
Member
Registered: 2007-07-07
Posts: 20
Website

Re: Problem with AUR

Ok. It should be no ',' - in most languages I knowthere are.
Sorry for trouble.

Problem with uploading still exists.

edit
Thank you for responding. I've got mail just when I clicked submit button. I read all of things on wiki I had found to. I'm going to read this and then I tell you if I have read them.

Last edited by Uzytkownik (2007-07-23 18:50:51)


I've probably left my head... somewhere. Please wait untill I find it.

Offline

#4 2007-07-23 18:49:21

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: Problem with AUR

What's the contents of the tarball you're trying to submit to the AUR?

Offline

#5 2007-07-23 18:51:07

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: Problem with AUR

Wait - why are you trying to upload pan to the AUR?  It exists in extra (and looks like a newer version than the one you've posted) - you're not allowed to upload packages in the official repos to the AUR anyway.


-edit- Oh... you're probably wanting the devel version, my bad - if you're looking for the development version of pan, it's already uploaded: http://aur.archlinux.org/packages.php?d … ns=&SeB=nd -/edit-

Last edited by Cerebral (2007-07-23 18:55:10)

Offline

#6 2007-07-23 19:00:07

Uzytkownik
Member
Registered: 2007-07-07
Posts: 20
Website

Re: Problem with AUR

I haven't sent the tarball yet. But as far as I understend I should sent a tarbal with one directory (for example pan) which contains PKGBUILD(pan/PKGBUILD).

Content of pkgbuild should be something like:

# Contributor: Maciej Piechotka <uzytkownik2@gmail.com>
pkgname=pan
pkgver=0.131
pkgrel=1
pkgdesc="a GNOME newsreader"
arch=('i686' 'x86_64')
license=('GPL')
url=http://pan.rebelbase.com/
conflicts=()
depends=('gtkspell' 'gmime' 'pcre')
makedepends=('pkgconfig')
source=http://pan.rebelbase.com/download/releases/$pkgver/source/pan-$pkgver.tar.gz
md5sums=(b7fcd12222e58df6da77b1c574a8d66f)

build() {
        cd $startdir/src/$pkgname-$pkgver
        ./configure --prefix=/usr 
        make || return 1
        make DESTDIR=$startdir/pkg install
}

I've probably left my head... somewhere. Please wait untill I find it.

Offline

#7 2007-07-23 19:05:28

Uzytkownik
Member
Registered: 2007-07-07
Posts: 20
Website

Re: Problem with AUR

Cerebral wrote:

-edit- Oh... you're probably wanting the devel version, my bad - if you're looking for the development version of pan, it's already uploaded: http://aur.archlinux.org/packages.php?d … ns=&SeB=nd -/edit-

I was sure I look through AUR at least few times. However I skip the package. Thank you very much - at least I learned something about building packages in arch.

PS. Is it possible to have an option to search only by names? If I search for keyword 'pan' I get few pages of results including all CPAN modules.

Last edited by Uzytkownik (2007-07-23 19:07:21)


I've probably left my head... somewhere. Please wait untill I find it.

Offline

#8 2007-07-23 19:37:47

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: Problem with AUR

Uzytkownik wrote:

Problem with uploading still exists.

Uzytkownik wrote:

I haven't sent the tarball yet. But as far as I understend I should sent a tarball with one directory (for example pan) which contains PKGBUILD(pan/PKGBUILD).

If you haven't tried to upload a tarball, where is your "problem with uploading" coming from?

Also your understanding is correct - that is the desired structure.

Glad to have helped you find pan-devel - I'm not sure if there's a good regex way of searching the name only...

Offline

#9 2007-07-23 19:46:34

Uzytkownik
Member
Registered: 2007-07-07
Posts: 20
Website

Re: Problem with AUR

Well. The problem was when I didn't know about tarball. But I know now both about tarball and pan-devel so it is no point in messing AUR.


I've probably left my head... somewhere. Please wait untill I find it.

Offline

Board footer

Powered by FluxBB