You are not logged in.

#1 2009-05-26 23:17:42

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

determine http source for file in my PKGBUILD

I'm trying to write a PKGBUILD for a JAlbum skin.  The problem I'm having is that the download link doesn't point to a specific file.  Ideas on how I can translate the following into a source=(http://) line in my PKGBUILD are welcomed smile

Here is the download link: http://jalbum.net/web/GetSkinFile?versi … 3&type=zip
Here is the page that the page at which the download link resides: http://jalbum.net/skins/skin/BananAlbum


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2 2009-05-27 02:48:44

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

Re: determine http source for file in my PKGBUILD

This may work....

source=(BananAlbum_v6.1.4.zip::http://jalbum.net/web/GetSkinFile?versi … p;type=zip)

Offline

#3 2009-05-27 03:41:14

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: determine http source for file in my PKGBUILD

When I come across downloads like that, I tend to download them in Firefox, then right-click the file in the Download Manager and select "Copy Download Link" and then I can do what I like with it smile

Offline

#4 2009-05-27 05:33:58

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: determine http source for file in my PKGBUILD

@Allan - thanks for the suggestion.  I had to wrap it in double-quotes for it to work though:

source=("BananAlbum_v6.1.4.zip::http://jalbum.net/web/GetSkinFile?versionId=1253&type=zip")

@fukawi2 - I tried your suggestion, but the same perl line got copied rather than an absolute path (i.e. http://jalbum.net/web/GetSkinFile?versi … &type=zip)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

Board footer

Powered by FluxBB