You are not logged in.

#1 2010-11-24 14:29:16

hack.augusto
Member
From: Brazil
Registered: 2008-08-28
Posts: 127

[SOLVED]PKGBUILD - source=() and urls with get parameters

I tryed to compile pyflakes from AUR yesterday, and it had a `source=(http://divmod.org/trac/attachment/wiki/SoftwareReleases/$pkgname-$pkgver.tar.gz?format=raw LICENSE)` the problem is that makepkg checks for "$pkgname-$pkgver.tar.gz?format=raw" and the file name is "$pkgname-$pkgver.tar.gz", any fix for that? - I just removed "?format=raw" and it worked, but the author must had a reason for that parameter

Last edited by hack.augusto (2010-11-24 18:17:21)

Offline

#2 2010-11-24 14:36:16

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED]PKGBUILD - source=() and urls with get parameters

try sources=($pkgname-$pkgver.tar.gz::http://divmod.org/trac/attachment/wiki/SoftwareReleases/$pkgname-$pkgver.tar.gz?format=raw)


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2010-11-24 18:17:07

hack.augusto
Member
From: Brazil
Registered: 2008-08-28
Posts: 127

Re: [SOLVED]PKGBUILD - source=() and urls with get parameters

I wrapped it with double quotes and it worked big_smile, I've also added a note on the wiki page.

thanks

Offline

#4 2010-11-24 22:39:23

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: [SOLVED]PKGBUILD - source=() and urls with get parameters

The PKGBUILD man page has all sorts of tips like this.  Definitely worth a read!

Offline

Board footer

Powered by FluxBB