You are not logged in.

#1 2008-07-30 18:45:00

peets
Member
From: Montreal
Registered: 2007-01-11
Posts: 936
Website

removing url parameters from a source file

In my PKGBUILD:

source=("http://cclan.cvs.sourceforge.net/*checkout*/cclan/asdf/asdf.lisp?revision=$pkgver"

the downloaded file is named "asdf.lisp?revision=1.115".
I'd like it to be named "asdf.lisp".
Is there a way to specify the name it should be given when it's downloaded?
The following is ugly:

build() {
  mv "asdf.lisp?revision=$pkgver" asdf.lisp
}

Offline

#2 2008-07-30 23:26:12

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

Re: removing url parameters from a source file

No, you are stuck with that.

Offline

#3 2008-07-31 03:02:43

peets
Member
From: Montreal
Registered: 2007-01-11
Posts: 936
Website

Re: removing url parameters from a source file

This seems like an easy thing to write a patch for... I'll have a look at makepkg.

Hmm... not so easy seeing the way DLAGENTS are defined in makepkg.conf. I can't think of a simple solution.

Last edited by peets (2008-07-31 13:08:11)

Offline

Board footer

Powered by FluxBB