You are not logged in.

#1 2014-06-28 09:41:37

axper
Member
Registered: 2013-01-25
Posts: 115

[SOLVED] Creating src package when the source files must d/l manually

There's a program which requires to input some data before the GPL source can be downloaded.
http://www.csse.uwa.edu.au/cnet/download.html

When I put `source=('cnet-3.3.1.tgz')` in the PKGBUILD and put the archive in PKGBIULD's dir - it compiles and installs just fine.

However when creating a source file with `mkaurball` it puts the whole archive in the .src.tar.gz.

What do I do?

Last edited by axper (2014-06-28 12:11:58)

Offline

#2 2014-06-28 12:04:09

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,396

Re: [SOLVED] Creating src package when the source files must d/l manually

You should file a bug against pkgbuild-introspection , looks like mkaurball needs an extra check for archives in source array.

You could use makepkg --source for now, and upload the file that creates.
An alternative may be to edit the .src.tar.gz mkaurball created and delete the cnet*.tgz manually .
Not sure is editing .AURINFO is also needed .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2014-06-28 12:11:06

axper
Member
Registered: 2013-01-25
Posts: 115

Re: [SOLVED] Creating src package when the source files must d/l manually

Thank you, I knew it was that easy, why didn't I think of editing the archive?

Makepkg does the same thing as mkaurball - by putting the whole thing inside .src.tar.gz.

Last edited by axper (2014-06-28 12:11:15)

Offline

Board footer

Powered by FluxBB